-
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 the 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
0de0fbe
commit a264fb0
Showing
3 changed files
with
583 additions
and
18 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.