# Unassigned Shards - issue

**URL:** https://discuss.elastic.co/t/unassigned-shards-issue/325692
**Category:** Elasticsearch
**Created:** [February 16, 2023, 7:20am UTC](https://discuss.elastic.co/t/unassigned-shards-issue/325692 "2023-02-16T07:20:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![azuramazda](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@azuramazda](https://discuss.elastic.co/u/azuramazda)
#### Post date: [February 16, 2023, 7:20am UTC](https://discuss.elastic.co/t/unassigned-shards-issue/325692/1 "2023-02-16T07:20:40Z")

</div>

I am facing an issue with ES where it shows 174 shards are unassigned. and allocate\_explanation is :"cannot allocate because all found copies of the shard are there stale or corrupt".

This issue is arising since yesterday, when we restarted the Master node. Can somebody suggests on the same.

I tried reducing the number of replicas for the index from 3 to 1 but it doesn't work. DO i need to run "cluster.routing.allocation.enable":"all" or if any other suggestions are there plz share.

---

<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: [February 19, 2023, 9:00pm UTC](https://discuss.elastic.co/t/unassigned-shards-issue/325692/2 "2023-02-19T21:00:59Z")

</div>

Welcome to our community! 😃

What version of Elasticsearch are you running?

---

<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: [March 19, 2023, 9:01pm UTC](https://discuss.elastic.co/t/unassigned-shards-issue/325692/3 "2023-03-19T21:01:18Z")

</div>

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