So, Here is the condition.
some of my index are unassigned and the status is red. then i assign it manually using this command
POST _cluster/reroute
{
"commands": [
{
"allocate_empty_primary": {
"index": "project.myindex-2022.02.13",
"shard": 3,
"node": "data1",
"accept_data_loss": "true"
}
}
]
}
as you see i assign that shard to data1 but the shard allocation process doesn't start. I repeated running the command several times but the shard allocation process is still hasn't started. any suggestion?