Elasticsearch shard rebalancing fails during blue-green deployment
Problem – Shard Rebalancing Fails During a Blue‑Green Deployment During a zero‑downtime blue‑green swap, the primary cluster (blue) is drained while the secondary cluster (green) is brought online. Operators observed the following symptoms after traffic cut‑over: Repeated log entries such as: [2026-06-27T14:02:13,456][WARN ][cluster.routing.allocation.decider] [node2] failed to allocate shards reason: cluster_state_version mismatch (expected=12345, actual=12340) Cluster health … Read more