# Unassigned replica shards with reason as INDEX\_CREATED

**URL:** <https://discuss.elastic.co/t/unassigned-replica-shards-with-reason-as-index-created/237845>\
**Category:** Elasticsearch\
**Created:** [June 19, 2020, 6:03pm UTC](https://discuss.elastic.co/t/unassigned-replica-shards-with-reason-as-index-created/237845 "2020-06-19T18:03:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Aliasgar\_Choolawala](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aliasgar_choolawala/32/45836_2.png) [@Aliasgar\_Choolawala](https://discuss.elastic.co/u/Aliasgar_Choolawala)\
**Post date:** [June 23, 2020, 1:15pm UTC](https://discuss.elastic.co/t/unassigned-replica-shards-with-reason-as-index-created/237845/4 "2020-06-23T13:15:32Z")

</div>

hey @Vinayak_Sapre

after i made changes for total\_shards\_per\_node, still out of 14 shards, one replica shard remains unassigned after index rollover.

this is not happening after every rollover, but happening frequently!

```auto
"6" : [
            {
              "state" : "STARTED",
              "primary" : true,
              "node" : "xxxxxxxxxxxxxxxx",
              "relocating_node" : null,
              "shard" : 6,
              "index" : "pm2-logs-2020.06.23-000172",
              "allocation_id" : {
                "id" : "xxxxxxxxxxxxxxxx"
              }
            },
            {
              "state" : "UNASSIGNED",
              "primary" : false,
              "node" : null,
              "relocating_node" : null,
              "shard" : 6,
              "index" : "pm2-logs-2020.06.23-000172",
              "recovery_source" : {
                "type" : "PEER"
              },
              "unassigned_info" : {
                "reason" : "INDEX_CREATED",
                "at" : "2020-06-23T10:41:38.561Z",
                "delayed" : false,
                "allocation_status" : "no_attempt"
              }
            }
          ]

```

and due to this, the index status remains yellow, and is not green

---

_[View the full topic](https://discuss.elastic.co/t/unassigned-replica-shards-with-reason-as-index-created/237845)._
