Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NRG: Ignore vote requests if leader heard more recently than election…
… timeout This is actually a safeguard that the Raft paper prescribes as a way of avoiding network partitioned nodes from coming back up with a high term number and causing the existing leader to step down unnecessarily. Signed-off-by: Neil Twigg <neil@nats.io>
- Loading branch information
1 parent
163f02c
commit 786711e
Showing
2 changed files
with
58 additions
and
26 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