-
Notifications
You must be signed in to change notification settings - Fork 997
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forbid removed node from being a
Candidate
(#476)
* modify `TestRaft_RemoveFollower` to check removed node state * add test to verify that a removed node is not able to vote * do not transition to `Candidate` state if not part of stable configuration * add some comments to the tests * do not return if not transitioning state * add wait loop to test * remove test related to removed node voting * check `inConfig` instead of `hasVote` * updating warn log message to be more accurate
- Loading branch information
1 parent
1a62103
commit e55a8bf
Showing
3 changed files
with
24 additions
and
3 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