I am using Elasticsearch v7.10.2. I have cluster running with many unassigned shards. I want to determine the number of retries that has already finished for the shards. Is there any way to check that as in how many retries have already been tried.
Also, Is there any other way to trigger shard allocation manually apart from cluster-reroute api?
Thanks in advance
Is there any way to check that as in how many retries have already been tried.
The cluster allocation explain API will report
failed_attempts if nonzero.
No, but there is no need to do anything manually unless the cluster allocation explain API tells you that the reroute API is needed.
Thank you for the quick information.
Is there any way we can monitor the automatic shard reallocation process ran by Elasticsearch to track how long will it take or when was it started?
The index recovery API shows you details of current shard movements. There's no way to calculate how long it will take, however.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.