Hi, My cluster status is showing in RED status. Many of my indices shown in RED status. I quried explain api and it results as below:
{
"index" : "abc-2019.04.24",
"shard" : 2,
"primary" : true,
"current_state" : "unassigned",
"unassigned_info" : {
"reason" : "CLUSTER_RECOVERED",
"at" : "2020-04-15T09:26:02.854Z",
"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" : "xyz",
"node_name" : "abcd",
"transport_address" : "4.72.36.194:9300",
"node_decision" : "no",
"store" : {
"found" : false
}
}
]
}
_cat/indices:
abc-2019.04.24 2 p UNASSIGNED CLUSTER_RECOVERED
abc-2019.04.24 2 r UNASSIGNED CLUSTER_RECOVERED
abc-2019.04.24 4 p UNASSIGNED CLUSTER_RECOVERED
abc-2019.04.24 4 r UNASSIGNED CLUSTER_RECOVERED
abc-2019.04.24 1 p UNASSIGNED CLUSTER_RECOVERED
abc-2019.04.24 1 r UNASSIGNED CLUSTER_RECOVERED
abc-2019.04.24 3 p UNASSIGNED CLUSTER_RECOVERED
abc-2019.04.24 3 r UNASSIGNED CLUSTER_RECOVERED
abc-2019.04.24 0 p UNASSIGNED CLUSTER_RECOVERED
abc-2019.04.24 0 r UNASSIGNED CLUSTER_RECOVERED
I dont want to loose the data. Kindly help restore my cluster health.