forked from influxdata/influxdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to join an existing cluster
This adds some basic ability to join a node to an existing cluster. It uses a rpc layer to initiate a join request to an existing memeber. The response indicates whether the joining node should take part in the raft cluster and who it's peers should be. If raft should not be started, the peers are the addresses of the current raft members that it should delegate consensus operations. To keep the meta store implementation agnostic of whether it's running a local raft or not, a consensusStrategy type was also added.
- Loading branch information
Showing
6 changed files
with
466 additions
and
235 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.