-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check if server is in configuration when receiving a voteRequest (#526)
* check if server is in configuration, and not have vote rights, when receiving a voteRequest * change test term to 20 to reduce the chance that the test passes when the bug manifest Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com> * non voter with higher term vote request would make the node step-down but don't grant a vote * fix test to check we use the right term * add more details in the comment and a reference to the PR Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
- Loading branch information
1 parent
24e68f8
commit 6b4e320
Showing
3 changed files
with
115 additions
and
2 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