# Shard unassigned NODE\_LEFT

**URL:** <https://discuss.elastic.co/t/shard-unassigned-node-left/254955>\
**Category:** Elasticsearch\
**Created:** [November 10, 2020, 5:34pm UTC](https://discuss.elastic.co/t/shard-unassigned-node-left/254955 "2020-11-10T17:34:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpiyush](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kpiyush/32/45904_2.png) [@kpiyush](https://discuss.elastic.co/u/kpiyush)\
**Post date:** [November 10, 2020, 5:34pm UTC](https://discuss.elastic.co/t/shard-unassigned-node-left/254955/1 "2020-11-10T17:34:30Z")

</div>

Hi,

I have restarted the Elsaticsearch worker nodes. After restarting, one of the indexes is stuck on INITIALIZING mode and it is been quite a long time.  
I ran:

```auto
curl -k -XGET 'https://eu1.elasticsearch.svc.cluster.local:31000/_cluster/allocation/explain?pretty' -H 'Content-Type: application/json' -d'{"index": "index-1","shard":2,"primary": true}'
{
  "index" : "index-1",
  "shard" : 2,
  "primary" : true,
  "current_state" : "initializing",
  "unassigned_info" : {
    "reason" : "NODE_LEFT",
    "at" : "2020-11-10T16:16:37.317Z",
    "details" : "node_left [ktIXm-hVRliZA7FbWElCAw]",
    "last_allocation_status" : "throttled"
  },
  "current_node" : {
    "id" : "PrPXcMPpTuGvVxBkwXNt1w",
    "name" : "elasticsearch-es-default-1",
    "transport_address" : "10.1.218.232:9300",
    "attributes" : {
      "ml.machine_memory" : "12884901888",
      "ml.max_open_jobs" : "20",
      "xpack.installed" : "true"
    }
  },
  "explanation": "the shard is in the process of initializing on node [elasticsearch-es-default-1], wait until initialization has completed"
}

```

The reason stated NODE\_LEFT, I am not able to understand that because out of all shards only one shard is stuck and all the other shards on that `elasticsearch-es-default-1` node are assigned.

```auto
index-1 2 p INITIALIZING 10.1.218.232 elasticsearch-es-default-1
index-1 2 r UNASSIGNED

```

What can be done to fix this?

---

<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:** [December 8, 2020, 5:34pm UTC](https://discuss.elastic.co/t/shard-unassigned-node-left/254955/2 "2020-12-08T17:34:33Z")

</div>

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