-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raft: send de-fortification requests with the correct term
Addresses a TODO, where we were plopping an incorrect term on MsgDeFortifyLeader. A MsgDeFortifyLeader should include the leadership term that's being de-fortified, not the currently known term to old leader that's trying to de-fortify. To enable this, we track the term on the FortificationTracker and ensure it's only reset when a peer steps up to become leader again. Informs #129098 Release note: None
- Loading branch information
1 parent
a4b893c
commit f774409
Showing
3 changed files
with
574 additions
and
20 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
Oops, something went wrong.