Delete unassigned DANGLING_INDEX_IMPORTED shards

I have unassigned shards in my cluster,


GET /_cluster/allocation/explain


  "index": "error-log-2018-05-05",
  "shard": 3,
  "primary": true,
  "current_state": "unassigned",
  "unassigned_info": {
    "at": "2018-08-30T10:11:44.011Z",
    "last_allocation_status": "no_valid_shard_copy"
  "can_allocate": "no_valid_shard_copy",
  "allocate_explanation": "cannot allocate because a previous copy of the primary shard existed but can no longer be found on the nodes in the cluster",
  "node_allocation_decisions": [
      "node_id": "-Kebh1FtQVmAs8DDkrP8Kw",
      "node_name": "node-17",
      "transport_address": "",
      "node_attributes": {
        "xpack.installed": "true"
      "node_decision": "no",
      "store": {
        "found": false

How to delete the unassigned shards? I already delete the shards long ago.

@Christian_Dahlqvist please have a look. Thanks!

Solved at Endless creating index after delete another index

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