mirror of https://github.com/status-im/consul.git
docs: add missing Autopilot -min-quorum documentation (#7192)
This commit is contained in:
parent
e158922615
commit
4ab3af0ede
|
@ -42,7 +42,7 @@ func (c *cmd) init() {
|
|||
"Controls the maximum number of log entries that a server can trail the "+
|
||||
"leader by before being considered unhealthy.")
|
||||
c.flags.Var(&c.minQuorum, "min-quorum",
|
||||
"Sets the minimum number of of servers required in a cluster before autopilot "+
|
||||
"Sets the minimum number of servers required in a cluster before autopilot "+
|
||||
"is allowed to prune dead servers.")
|
||||
c.flags.Var(&c.lastContactThreshold, "last-contact-threshold",
|
||||
"Controls the maximum amount of time a server can go without contact "+
|
||||
|
|
|
@ -108,7 +108,7 @@ The table below shows this endpoint's support for
|
|||
- `MaxTrailingLogs` `(int: 250)` specifies the maximum number of log entries
|
||||
that a server can trail the leader by before being considered unhealthy.
|
||||
|
||||
- `MinQuorum` `int: 0` - specifies the minimum number of servers needed before
|
||||
- `MinQuorum` `(int: 0)` - specifies the minimum number of servers needed before
|
||||
Autopilot can prune dead servers.
|
||||
|
||||
- `ServerStabilizationTime` `(string: "10s")` - Specifies the minimum amount of
|
||||
|
|
|
@ -71,6 +71,9 @@ from the leader before being considered unhealthy. Must be a duration value such
|
|||
* `-max-trailing-logs` - Controls the maximum number of log entries that a server can trail
|
||||
the leader by before being considered unhealthy.
|
||||
|
||||
* `-min-quorum` - Sets the minimum number of servers required in a cluster
|
||||
before autopilot is allowed to prune dead servers.
|
||||
|
||||
* `-server-stabilization-time` - Controls the minimum amount of time a server must be stable in
|
||||
the 'healthy' state before being added to the cluster. Only takes effect if all servers are
|
||||
running Raft protocol version 3 or higher. Must be a duration value such as `10s`.
|
||||
|
|
Loading…
Reference in New Issue