implement MinQuorum

This commit is contained in:
Mahmood Ali
2020-02-16 15:23:20 -06:00
parent 535c22e0b8
commit 1d9ffa640b
16 changed files with 44 additions and 0 deletions

View File

@@ -22,6 +22,10 @@ type AutopilotConfiguration struct {
// be behind before being considered unhealthy.
MaxTrailingLogs uint64
// MinQuorum sets the minimum number of servers allowed in a cluster before
// autopilot can prune dead servers.
MinQuorum uint
// ServerStabilizationTime is the minimum amount of time a server must be
// in a stable, healthy state before it can be added to the cluster. Only
// applicable with Raft protocol version 3 or higher.