Skip to content
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

Adds support for peers.json recover with Raft protocol version 3. #3007

Merged
merged 2 commits into from
May 4, 2017

Conversation

slackpad
Copy link
Contributor

@slackpad slackpad commented May 4, 2017

Fixes #3003.

This pulls in hashicorp/raft#207 to get
support for the new-style peers.json recovery file.
@slackpad
Copy link
Contributor Author

slackpad commented May 4, 2017

I did manual testing on this one since it would be super fiddly to test with unit tests, unfortunately. For Raft protocol versions 2 and 3 I made a three server cluster, killed all the servers, and manually configured just a single server in the configuration using peers.json. For both versions I was able to watch the server ingest the peers.json file and elect itself leader.

@slackpad slackpad requested a review from kyhavlov May 4, 2017 21:24
@slackpad slackpad merged commit af62e2b into master May 4, 2017
@slackpad slackpad deleted the config-json branch May 4, 2017 21:31
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.

2 participants