Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
c/controller_backend: try to force-abort reconfiguration only on leaders
Previously, when force-aborting a reconfiguration, we appended an aborting configuration on all replicas. This can lead to log inconsistencies as on followers the configuration will be duplicated (one from own append, one replicated by the leader). Although these inconsistencies are expected for force-abort, if the leader is alive, we can minimize the chance of their appearance by waiting on followers for the aborting config to be replicated from the leader. Fixes #17847 (cherry picked from commit 8e221d3)
- Loading branch information