mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Enable --pre-vote=true by default in 3.5.
This commit is contained in:
@@ -239,7 +239,6 @@ type Config struct {
|
||||
// If enabled, Raft runs an additional election phase
|
||||
// to check whether it would get enough votes to win
|
||||
// an election, thus minimizing disruptions.
|
||||
// TODO: enable by default in 3.5.
|
||||
PreVote bool `json:"pre-vote"`
|
||||
|
||||
CORS map[string]struct{}
|
||||
@@ -436,7 +435,7 @@ func NewConfig() *Config {
|
||||
BcryptCost: uint(bcrypt.DefaultCost),
|
||||
AuthTokenTTL: 300,
|
||||
|
||||
PreVote: false, // TODO: enable by default in v3.5
|
||||
PreVote: true,
|
||||
|
||||
loggerMu: new(sync.RWMutex),
|
||||
logger: nil,
|
||||
|
||||
@@ -116,7 +116,7 @@ Clustering:
|
||||
Suffix to the dns srv name queried when bootstrapping.
|
||||
--strict-reconfig-check '` + strconv.FormatBool(embed.DefaultStrictReconfigCheck) + `'
|
||||
Reject reconfiguration requests that would cause quorum loss.
|
||||
--pre-vote 'false'
|
||||
--pre-vote 'true'
|
||||
Enable to run an additional Raft election phase.
|
||||
--auto-compaction-retention '0'
|
||||
Auto compaction retention length. 0 means disable auto compaction.
|
||||
|
||||
Reference in New Issue
Block a user