mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 09:52:54 +00:00
Previously, when all nodes in the cluster became unavailable at the same time, we would detach all tenant shards. This is due to a bug in `Service::node_configure`. If all nodes are unavailable, there's no chance of reschedulling anything, so we should leave the intent states untouced. This commit adds a special case which detects this situation and skips any reschedullings.