# Unassigned ilm-history shard cluster in RED state

**URL:** <https://discuss.elastic.co/t/unassigned-ilm-history-shard-cluster-in-red-state/246970>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [August 31, 2020, 2:22pm UTC](https://discuss.elastic.co/t/unassigned-ilm-history-shard-cluster-in-red-state/246970 "2020-08-31T14:22:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Petr.Simik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/petr.simik/32/38082_2.png) [@Petr.Simik](https://discuss.elastic.co/u/Petr.Simik)\
**Post date:** [August 31, 2020, 5:49pm UTC](https://discuss.elastic.co/t/unassigned-ilm-history-shard-cluster-in-red-state/246970/2 "2020-08-31T17:49:13Z")

</div>

resolved by  
i do not know why this has happended byt  
I could just delete the shards and problem resolved.

DELETE ilm-history-2-000001

> [@Ilm-history-2-000001 UNASSIGNED, primary shard for this replica is not yet active](https://discuss.elastic.co/t/ilm-history-2-000001-unassigned-primary-shard-for-this-replica-is-not-yet-active/246978):
>
> Please I need critical help with cluster in state RED after upgrade 7.4.2-\>7.9 during upgrade of 5th node of 15 it did not recover it health to 100% but 99% all indices are green except 2 shards index shard prirep state docs store ip node ilm-history-2-000001 0 p UNASSIGNED ilm-history-2-000001 0 r UNASSIGNED primary shard for this replica is not yet active {…

---

_[View the full topic](https://discuss.elastic.co/t/unassigned-ilm-history-shard-cluster-in-red-state/246970)._
