Expand description
Dynamic vnode rebalance control plane. Dynamic vnode rebalance control plane.
Structs§
- Rebalance
Config - Tunables for the rebalance control plane.
Functions§
- spawn_
rebalance_ controller - Spawn the leader-gated rebalance controller. Runs on every node; leadership is re-checked after the debounce.
- spawn_
snapshot_ watcher - Spawn the per-node snapshot watcher. Exits on
shutdown. - wait_
until_ drained - Poll the durable assignment snapshot until
meowns no vnodes (its state has been reassigned elsewhere) ordeadlineelapses. Returns true if fully drained. Used by a draining node to know when it is safe to exit.