mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: updated pre-vote flag description
To better communicate what the pre-vote phase in Raft is. Signed-off-by: Fube <fubeitch@gmail.com>
This commit is contained in:
parent
84e67ffaf6
commit
cf66d0f64f
@ -644,7 +644,7 @@ func (cfg *Config) AddFlags(fs *flag.FlagSet) {
|
||||
fs.StringVar(&cfg.InitialClusterToken, "initial-cluster-token", cfg.InitialClusterToken, "Initial cluster token for the etcd cluster during bootstrap.")
|
||||
fs.BoolVar(&cfg.StrictReconfigCheck, "strict-reconfig-check", cfg.StrictReconfigCheck, "Reject reconfiguration requests that would cause quorum loss.")
|
||||
|
||||
fs.BoolVar(&cfg.PreVote, "pre-vote", cfg.PreVote, "Enable to run an additional Raft election phase.")
|
||||
fs.BoolVar(&cfg.PreVote, "pre-vote", cfg.PreVote, "Enable the raft Pre-Vote algorithm to prevent disruption when a node that has been partitioned away rejoins the cluster.")
|
||||
|
||||
// security
|
||||
fs.StringVar(&cfg.ClientTLSInfo.CertFile, "cert-file", "", "Path to the client server TLS cert file.")
|
||||
|
@ -157,7 +157,7 @@ Clustering:
|
||||
--strict-reconfig-check '` + strconv.FormatBool(embed.DefaultStrictReconfigCheck) + `'
|
||||
Reject reconfiguration requests that would cause quorum loss.
|
||||
--pre-vote 'true'
|
||||
Enable to run an additional Raft election phase.
|
||||
Enable the raft Pre-Vote algorithm to prevent disruption when a node that has been partitioned away rejoins the cluster.
|
||||
--auto-compaction-retention '0'
|
||||
Auto compaction retention length. 0 means disable auto compaction.
|
||||
--auto-compaction-mode 'periodic'
|
||||
|
Loading…
x
Reference in New Issue
Block a user