moby / moby/swarmkit

raft: Allow multiple addresses on raft cluster Join

Open
#342 8 comments 0 reactions 1 assignee View on GitHub

@abronan is already working on this.

Since Apr 15, 2016.

area/raft priority/P3
Dominant language
Go
Stars
3.7k
Forks
676
Avg merge
4d 9h
Merged PRs (30d)
6

Description

Stumbled upon this during my investigation of Jepsen, but a nice improvement (for the bootstrapping part) would be to define multiple addresses on raft Join so that if the first address fails, we try on the second, third, etc. It is especially useful for tests using the command line as an entrypoint and simulating failures (like Jepsen).

Related to #253 and #291

Only complex part is to make sure that the operation is idempotent on every node; if multiple joins are sent because the first join was lost, we should end up in the same state. Which should already be the case.

Also not sure how it's going to look like after the CA stuff is included.

/cc @aaronlehmann @diogomonica

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.