-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raft: Allow Join to be called multiple times for the same cluster member
If Join is called and the member already exists in the cluster, instead of returning an error, it will update the node's address with the new one provided to the RPC. This will allow managers to update their addresses automatically on startup, if they were configured to autodetect the addresses. It will also be possible to manually repeat the "docker swarm join" command, to specify a different advertise address, or rejoin a cluster when all known manager IPs have changed. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
- Loading branch information
1 parent
eb07af5
commit ba3a0ec
Showing
3 changed files
with
74 additions
and
30 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
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