forked from redpanda-data/redpanda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/consensus: handle forced configuration changes without appends
Changed the way how Redpanda raft handles force reconfigurations. Instead of appending configuration to the log we keep a volatile in memory override for the configuration that was forced. The override is dropped whenever a node receives different configuration. This approach allow us to avoid discrepancies as not data are appended to the log without the active leader. Signed-off-by: Michał Maślanka <michal@redpanda.com>
- Loading branch information
1 parent
636a19e
commit 01bef11
Showing
3 changed files
with
55 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters