mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
docs(configuration): add cluster configuration
This commit is contained in:
@@ -25,7 +25,6 @@ const (
|
||||
)
|
||||
|
||||
// ClusterConfig represents cluster-wide configuration settings.
|
||||
// These settings can only be changed through Raft.
|
||||
type ClusterConfig struct {
|
||||
// ActiveSize is the maximum number of node that can join as Raft followers.
|
||||
// Nodes that join the cluster after the limit is reached are standbys.
|
||||
|
||||
@@ -56,6 +56,9 @@ Other Options:
|
||||
-max-cluster-size Maximum number of nodes in the cluster.
|
||||
-snapshot=false Disable log snapshots
|
||||
-snapshot-count Number of transactions before issuing a snapshot.
|
||||
-cluster-active-size Number of active nodes in the cluster.
|
||||
-cluster-remove-delay Seconds before one node is removed.
|
||||
-cluster-sync-interval Seconds between synchronizations for standby mode.
|
||||
`
|
||||
|
||||
// Usage returns the usage message for etcd.
|
||||
|
||||
Reference in New Issue
Block a user