# Cluster stuck with relocating shards after it turned green

**URL:** <https://discuss.elastic.co/t/cluster-stuck-with-relocating-shards-after-it-turned-green/18343>\
**Category:** Elasticsearch\
**Created:** [June 25, 2014, 7:24pm UTC](https://discuss.elastic.co/t/cluster-stuck-with-relocating-shards-after-it-turned-green/18343 "2014-06-25T19:24:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashish\_Nigam\_3](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Ashish\_Nigam\_3](https://discuss.elastic.co/u/Ashish_Nigam_3)\
**Post date:** [June 25, 2014, 7:24pm UTC](https://discuss.elastic.co/t/cluster-stuck-with-relocating-shards-after-it-turned-green/18343/1 "2014-06-25T19:24:29Z")

</div>

Cluster stuck in relocating shards after it turned green. Here are two  
types of tasks that are being executed.

{

```
"insert_order" : 14566,

"proirity" : "HIGH",

"source" : "shard-started ([du_shnindex_18530_2014_5][0],

```

node[t4063UbEQ7ePgIA841x3qA], [P], s[INITIALIZING]), reason [after recovery  
from gateway]",

```
"time_in_queue_millis" : 28314,

"time_in_queue" : "28.3s"

```

}, {

```
"insert_order" : 14567,

"proirity" : "HIGH",

"source" : "shard-started ([shnindex_19548_2014_4][1],

```

node[qPihy8qxR7uQomrqVrfNCw], relocating [q9lq7Q1cTgqAf4X5wq2XgQ], [P],  
s[INITIALIZING]), reason [master  
[esearch01][CEI8DeUvT4yQaOjViaRL8A][inet[/10.0.11.121:9300]]{master=true,  
zone=zone\_spop-sjc} marked shard as initializing, but shard already  
started, mark shard as started]",

```
"time_in_queue_millis" : 27810,

"time_in_queue" : "27.8s"

```

},

Any idea why this would happen? I am using 0.90.5 version.

Thanks

Ashish

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CANsfGRnH\_qNwzoY%3DVhM-nB9m6rVUHd%3DZ7\_fGgTpB-gs6w1Jp3Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANsfGRnH_qNwzoY%3DVhM-nB9m6rVUHd%3DZ7_fGgTpB-gs6w1Jp3Q%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:19am UTC](https://discuss.elastic.co/t/cluster-stuck-with-relocating-shards-after-it-turned-green/18343/2 "2017-07-06T01:19:42Z")

</div>


