Guide Update: Adding/Removing Server (#5095)

* first draft of updated content for consul leave

* Changed the consul leave/bootstrap_expect scenario into a note
pull/5112/head
kaitlincarter-hc 6 years ago committed by GitHub
parent 09c7484cab
commit cb5524e1e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -157,6 +157,8 @@ The leader should also emit various logs including:
At this point the node has been gracefully removed from the cluster, and At this point the node has been gracefully removed from the cluster, and
will shut down. will shut down.
~> Running `consul leave` on a server explicitly will reduce the quorum size. Even if the cluster used `bootstrap_expect` to set a quorum size initially, issuing `consul leave` on a server will reconfigure the cluster to have fewer servers. This means you could end up with just one server that is still able to commit writes because quorum is only 1, but those writes might be lost if that server fails before more are added.
To remove all agents that accidentally joined the wrong set of servers, clear out the contents of the data directory (`-data-dir`) on both client and server nodes. To remove all agents that accidentally joined the wrong set of servers, clear out the contents of the data directory (`-data-dir`) on both client and server nodes.
These graceful methods to remove servres assumse you have a healthly cluster. These graceful methods to remove servres assumse you have a healthly cluster.

Loading…
Cancel
Save