Diagnostic step 1
Run GET _cluster/allocation/explain for a specific unassigned shard to read the exact allocator decision.
Generated Oct 20, 2026, 9:41:02 AM
Run GET _cluster/allocation/explain for a specific unassigned shard to read the exact allocator decision.
Inspect index and cluster allocation settings: GET /_cluster/settings?include_defaults=true and GET /<index>/_settings for index.routing.* and index.blocks.*.
If an exclude is too broad, clear it: PUT /<index>/_settings {"index.routing.allocation.exclude._name": null} (or use empty string) for affected indices. Do this for a small set of indices first.
If cluster.routing.allocation.enable was changed, set it back to 'all': PUT /_cluster/settings {"transient":{"cluster.routing.allocation.enable":"all"}}.
After fixes, monitor allocation with GET /_cluster/health and reroute if necessary (POST /_cluster/reroute with allocate_empty_primary only as last resort and only if you have a snapshot). Escalate to restore from recent snapshot if primaries cannot be recovered.