Problem 01
What does 2501 do when an Elasticsearch cluster goes red?#
It puts primary recovery first: it reads the allocation explanation for the unassigned primary, fixes that reason, and retries allocation when the failure was transient. It never deletes a red index to clear the alert.
It checks
- Cluster health and the allocation explanation for each unassigned shard.
- Disk watermarks on the nodes.
It may
- Retry allocations, and close or reopen indices in scope.
- Lift a read-only block once disk pressure is resolved.
It leaves to people
- Forcing a stale or empty primary, which drops data.
- A manual next step for every shard it cannot recover safely.

