Fast, easy way to disable automatic failover
Problem to solve
If we identify a problem with automatic failover, this can only be controlled through changing Praefect configs on each Praefect node. This means that it will be hard to respond quickly to a bug or production problem that this feature might cause.
Further details
Proposal
There are multiple ways to solve this:
- a command that can be run on any Praefect node that sets a flag in the database to disable automatic failover,
- an API/checkbox in the GitLab application that sends a signal to Praefect to disable automatic failover
- this could even be a feature flag that Praefect is looking for
Links / references
Edited by 🤖 GitLab Bot 🤖