Open snaury opened 2 days ago
Feature request from @the-ancient-1: ability to sticky force some node to keep running the tablet unless it's unavailable. We decided it could be possible to skip state storage / pipe checking and start a round where a special non-random value (guaranteed winner) is used. When multiple nodes have selected the same random value then the minimum node id should be a winner.
We have a problem with large clusters, where a restart of some nodes causes an unnecessary restart of system tablets. The reason is that it takes a lot of time to fully connect to the rest of the cluster, and bootstrapper often fails to connect to siblings. This makes it decide to start the tablet locally, which succeeds in displacing a perfectly healthy tablet from state storage.
We need to add an additional step that checks for an existing tablet: