# One replica shard will not allocate

**URL:** <https://discuss.elastic.co/t/one-replica-shard-will-not-allocate/82311>\
**Category:** Elasticsearch\
**Created:** [April 13, 2017, 2:18pm UTC](https://discuss.elastic.co/t/one-replica-shard-will-not-allocate/82311 "2017-04-13T14:18:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aperlberg](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@aperlberg](https://discuss.elastic.co/u/aperlberg)\
**Post date:** [April 13, 2017, 2:18pm UTC](https://discuss.elastic.co/t/one-replica-shard-will-not-allocate/82311/1 "2017-04-13T14:18:11Z")

</div>

I am running an ES 2.4.4 cluster with 7 data nodes. A new index was created and all shards were allocated but 1 replica shard. It is sitting UNASSIGNED. Indices created after that one have had all shards allocated. I have attempted to restart my cluster as well as restarting the node the primary shard is allocated to. I have tried turning off allocation and turning it back on. Nothing I have tried will get that one shard to allocate so my cluster is sitting yellow. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 17, 2017, 5:59am UTC](https://discuss.elastic.co/t/one-replica-shard-will-not-allocate/82311/2 "2017-04-17T05:59:46Z")

</div>

Try removing the replica on the index and then re-adding it.

---

<div class="post-metadata">

**Author:** ![aperlberg](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@aperlberg](https://discuss.elastic.co/u/aperlberg)\
**Post date:** [April 17, 2017, 3:59pm UTC](https://discuss.elastic.co/t/one-replica-shard-will-not-allocate/82311/3 "2017-04-17T15:59:21Z")

</div>

This resolved the issue. Thank you for your help!

---

<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:** [May 15, 2017, 4:13pm UTC](https://discuss.elastic.co/t/one-replica-shard-will-not-allocate/82311/4 "2017-05-15T16:13:58Z")

</div>

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