Hi all
i have a 5 node cluster where 3 nodes are data nodes, 1 is master and 1 is client node
on this cluster i have created a snapshot for particular index and when i tried to restore that snapshot on same cluster then cluster turns into RED status with unassigned shards = 10
here is the response that get with
GET /_cluster/allocation/explain
{
"index": "company",
"shard": 2,
"primary": false,
"current_state": "unassigned",
"unassigned_info": {
"reason": "NEW_INDEX_RESTORED",
"at": "2017-06-28T11:51:00.521Z",
"details": "restore_source[sgpl_backup2/snapshot_2]",
"last_allocation_status": "no_attempt"
},
"can_allocate": "no",
"allocate_explanation": "cannot allocate because allocation is not permitted to any of the nodes",
"node_allocation_decisions": [
{
"node_id": "Uu67NQqXQVaT1maJ49apng",
"node_name": "node72",
"transport_address": "192.168.1.72:9300",
"node_attributes": {
"ml.enabled": "true"
},
"node_decision": "no",
"deciders": [
{
"decider": "replica_after_primary_active",
"decision": "NO",
"explanation": "primary shard for this replica is not yet active"
},
{
"decider": "throttling",
"decision": "NO",
"explanation": "primary shard for this replica is not yet active"
}
]
},
{
"node_id": "XEgaW0CvQt-02VEczOmHoA",
"node_name": "node71",
"transport_address": "192.168.1.71:9300",
"node_attributes": {
"ml.enabled": "true"
},
"node_decision": "no",
"deciders": [
{
"decider": "replica_after_primary_active",
"decision": "NO",
"explanation": "primary shard for this replica is not yet active"
},
{
"decider": "throttling",
"decision": "NO",
"explanation": "primary shard for this replica is not yet active"
}
]
},
{
"node_id": "mHR3zxDqQCqDvGNBxUF2tw",
"node_name": "node73",
"transport_address": "192.168.1.73:9300",
"node_attributes": {
"ml.enabled": "true"
},
"node_decision": "no",
"deciders": [
{
"decider": "replica_after_primary_active",
"decision": "NO",
"explanation": "primary shard for this replica is not yet active"
},
{
"decider": "throttling",
"decision": "NO",
"explanation": "primary shard for this replica is not yet active"
}
]
}
]
}
how can i resolve this error?
Thank you.