Adjust formula for quorum size (#7286)

Current formula for quorum size does not match numbers in table below.
This commit is contained in:
Christoph Puhl 2020-02-13 16:57:38 +01:00 committed by GitHub
parent cb0f94487c
commit c8466fad8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ same sequence of logs must result in the same state, meaning behavior must be de
For Consul's purposes, all server nodes are in the peer set of the local datacenter. For Consul's purposes, all server nodes are in the peer set of the local datacenter.
* Quorum - A quorum is a majority of members from a peer set: for a set of size `n`, * Quorum - A quorum is a majority of members from a peer set: for a set of size `n`,
quorum requires at least `(n/2)+1` members. quorum requires at least `(n+1)/2` members.
For example, if there are 5 members in the peer set, we would need 3 nodes For example, if there are 5 members in the peer set, we would need 3 nodes
to form a quorum. If a quorum of nodes is unavailable for any reason, the to form a quorum. If a quorum of nodes is unavailable for any reason, the
cluster becomes *unavailable* and no new logs can be committed. cluster becomes *unavailable* and no new logs can be committed.