# Question about es shards

**URL:** <https://discuss.elastic.co/t/question-about-es-shards/238421>\
**Category:** Elasticsearch\
**Created:** [June 24, 2020, 9:31am UTC](https://discuss.elastic.co/t/question-about-es-shards/238421 "2020-06-24T09:31:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry-chen-315](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jerry-chen-315/32/34699_2.png) [@jerry-chen-315](https://discuss.elastic.co/u/jerry-chen-315)\
**Post date:** [June 24, 2020, 9:31am UTC](https://discuss.elastic.co/t/question-about-es-shards/238421/1 "2020-06-24T09:31:38Z")

</div>

Hello:  
Q1.Do the shards auto relocate to other nodes when a node failure or shutdown?

Q2.How can I monitor the unassigned shards progress of allocation?

Thanks for all your help

---

<div class="post-metadata">

**Author:** ![abrx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abrx/32/43881_2.png) [@abrx](https://discuss.elastic.co/u/abrx)\
**Post date:** [June 24, 2020, 9:43am UTC](https://discuss.elastic.co/t/question-about-es-shards/238421/2 "2020-06-24T09:43:40Z")

</div>

Hi,

1. Yes if other nodes have space available and satisfy [rack constraints](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-cluster.html#shard-allocation-awareness)
2. The easier way is the cluster API, for instance [cluster health endpoint](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html) and [pending tasks](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-pending.html).

---

<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 22, 2020, 9:43am UTC](https://discuss.elastic.co/t/question-about-es-shards/238421/3 "2020-07-22T09:43:54Z")

</div>

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