-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/prevote_stm: fail prevote if term changed
If a candidate receives a reply with term which is different than requested then the vote should not be treated as success. Additionally the term of candidate should be updated. Signed-off-by: Michał Maślanka <michal@redpanda.com>
- Loading branch information
1 parent
0d7f850
commit a6db30d
Showing
2 changed files
with
42 additions
and
14 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