# Shard stuck in Relocating which block hot to warm process

**URL:** <https://discuss.elastic.co/t/shard-stuck-in-relocating-which-block-hot-to-warm-process/184811>\
**Category:** Elasticsearch\
**Created:** [June 7, 2019, 8:35pm UTC](https://discuss.elastic.co/t/shard-stuck-in-relocating-which-block-hot-to-warm-process/184811 "2019-06-07T20:35:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiang-liu-exa](https://avatars.discourse-cdn.com/v4/letter/x/71e660/32.png) [@xiang-liu-exa](https://discuss.elastic.co/u/xiang-liu-exa)\
**Post date:** [June 7, 2019, 8:35pm UTC](https://discuss.elastic.co/t/shard-stuck-in-relocating-which-block-hot-to-warm-process/184811/1 "2019-06-07T20:35:57Z")

</div>

We have a cluster of 8 hot nodes and 32 warm nodes and a process to auto move old index from hot to warm.  
This process works well until this week when it moves index-2019.05.12.  
index-2019.05.12 has 40 primary shards and 1 replication. When we are checking, 39 shards are green but shard 0 replica shard stuck on RELOCATING.

From \_cat/shards, it says:  
index-2019.05.12 0 r RELOCATING 17332920 28.8gb 10.50.50.84 host8-0 -\> 10.50.50.201 eF81IZspSDSVbfH0a0fNkw host20-3

From \_cat/recovery, it says:  
index-2019.05.12 0 11.1m peer index elasticsearch-host10-b host10-1 elasticsearch-host20-d host20-3 n/a n/a 15 0 0.0% 15 30982519357 0 0.0% 309825  
19357 0 0 100.0%

Notice the information inconsistence from \_cat/shards and \_cat/recovery.  
host8-0 is hot node while host10-1 and host20-3 are warm nodes.

By checking tasks on host8-0 and host10-1, I can see host10-1 has a recovery task.  
After restart host10-1, shard 0 relocation start to make progress.

The question is why host10-1 fail to recovery shard 0 in initial attempt and how to avoid it?

---

<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 5, 2019, 8:36pm UTC](https://discuss.elastic.co/t/shard-stuck-in-relocating-which-block-hot-to-warm-process/184811/2 "2019-07-05T20:36:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
