Files
neon/storage_controller
Vlad Lazar 677c1662a4 storcon: do not detach tenants when all nodes are unvailable
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.
2024-06-14 11:32:04 +01:00
..