-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
raft: upgrade to v1.3.6 #12496
raft: upgrade to v1.3.6 #12496
Conversation
Add additional protections on the Consul side to prevent NonVoters from bootstrapping raft. This should un-flake TestServer_Expect_NonVoters
@@ -386,6 +386,11 @@ func (s *Server) maybeBootstrap() { | |||
return | |||
} | |||
|
|||
if s.config.ReadReplica { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put this after the check above so that it'll converge on s.config.BootstrapExpect = 0
at the same time as all of the other nodes so the rest of the loop below can handle the BootstrapExpect
equality check logic properly.
🍒 If backport labels were added before merging, cherry-picking will start automatically. To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/600304. |
Backport of #12496 to 1.11.x Conflicts: - go.mod
Backport of #12496 to 1.10.x Conflicts: - go.mod
Backport of #12496 to 1.11.x Conflicts: - go.mod
Backport of #12496 to 1.10.x Conflicts: - go.mod
Add additional protections on the Consul side to prevent NonVoters from bootstrapping raft.
This should un-flake
TestServer_Expect_NonVoters
The main change being incorporated by the upgrade is hashicorp/raft#492