Hi all,
My ES index is showing red. It is a single node and has no replicas. Its running on version 5.5
On checking allocation status, I get the following
{
"index": "tm",
"shard": 0,
"primary": true,
"current_state": "unassigned",
"unassigned_info": {
"reason": "ALLOCATION_FAILED",
"at": "2021-12-14T20:11:43.301Z",
"failed_allocation_attempts": 8,
"details": "failed recovery, failure RecoveryFailedException[[tm][0]: Recovery failed on {node-1}{0MOjpxfzTXO-p_v9FdnBtQ}{sl-uShAgQCKhTNa_MN67Yw}{<ip>}{<ip>:9300}]; nested: IndexShardRecoveryException[failed to recover from gateway]; nested: EngineCreationFailureException[failed to create engine]; nested: NoSuchFileException[/mnt/prabes/esdata/nodes/0/indices/h8iZgJQIRECkMf2AJM7pIw/0/index/_383g_Lucene50_0.pos]; ",
"last_allocation_status": "no"
},
"can_allocate": "no",
"allocate_explanation": "cannot allocate because allocation is not permitted to any of the nodes that hold an in-sync shard copy",
"node_allocation_decisions": [
{
"node_id": "0MOjpxfzTXO-p_v9FdnBtQ",
"node_name": "node-1",
"transport_address": "<ip>:9300",
"node_decision": "no",
"store": {
"in_sync": true,
"allocation_id": "7Y1Mf7GZRBW75jYptUPYdw"
},
"deciders": [
{
"decider": "max_retry",
"decision": "NO",
"explanation": "shard has exceeded the maximum number of retries [5] on failed allocation attempts - manually call [/_cluster/reroute?retry_failed=true] to retry, [unassigned_info[[reason=ALLOCATION_FAILED], at[2021-12-14T20:11:43.301Z], failed_attempts[8], delayed=false, details[failed recovery, failure RecoveryFailedException[[tm][0]: Recovery failed on {node-1}{0MOjpxfzTXO-p_v9FdnBtQ}{sl-uShAgQCKhTNa_MN67Yw}{<ip>}{<ip>:9300}]; nested: IndexShardRecoveryException[failed to recover from gateway]; nested: EngineCreationFailureException[failed to create engine]; nested: NoSuchFileException[/mnt/prabes/esdata/nodes/0/indices/h8iZgJQIRECkMf2AJM7pIw/0/index/_383g_Lucene50_0.pos]; ], allocation_status[deciders_no]]]"
}
]
}
]
}
The file is however present in the mentioned location and is not empty.
How can I fix this?