Adding quorum note on leave command page (#5102)

Reusing the same phrasing as  https://github.com/hashicorp/consul/pull/5095/ to provide info on the effects of the `consul leave` command on Consul quorum
This commit is contained in:
danielehc 2019-01-25 21:20:48 +01:00 committed by kaitlincarter-hc
parent 607f0df628
commit 1e5c56f1aa
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ For nodes in server mode, the node is removed from the Raft peer set
in a graceful manner. This is critical, as in certain situations a
non-graceful leave can affect cluster availability.
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.
## Usage
Usage: `consul leave [options]`