-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
event/consul-docs-dayA day focused on improving Consul's documentation. Date: Jan 10, 2022.A day focused on improving Consul's documentation. Date: Jan 10, 2022.type/docsDocumentation needs to be created/updated/clarifiedDocumentation needs to be created/updated/clarified
Description
https://www.consul.io/commands/leave (pinned version) says:
Running
consul leaveon a server explicitly will reduce the quorum size. Even if the cluster usedbootstrap_expectto set a quorum size initially, issuingconsul leaveon 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
To the operator, it is unclear what "quorum size" means exactly here.
Assuming I ran consul leave, how can I check what the new decreased quorum size is?
- Is it the number of entries that have
Type=serverinconsul members? - Is it the
known_serversfield inconsul info(which is presumably the same as the above)?
Given that the docs warn that the quorum size may drop to 1 and that that is bad, they should say how to check what the quorum size currently is.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
event/consul-docs-dayA day focused on improving Consul's documentation. Date: Jan 10, 2022.A day focused on improving Consul's documentation. Date: Jan 10, 2022.type/docsDocumentation needs to be created/updated/clarifiedDocumentation needs to be created/updated/clarified