Skip to content

Adds check that aborts bootstrap mode if there's an existing cluster. #2319

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

Merged
merged 3 commits into from
Sep 1, 2016

Conversation

slackpad
Copy link
Contributor

@slackpad slackpad commented Sep 1, 2016

This isn't required for correctness because Raft will ensure that nobody will vote for a server that spuriously bootstraps itself, but it can create unnecessary elections when it start up. This will make a server contact all the other servers and confirm they have no peers before it attempts to bootstrap.

Verified

This commit was signed with the committer’s verified signature.
slackpad James Phillips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant