diff --git a/etcdmain/config.go b/etcdmain/config.go index 471c73480fb2..96146b175c92 100644 --- a/etcdmain/config.go +++ b/etcdmain/config.go @@ -216,6 +216,7 @@ func newConfig() *config { // experimental fs.BoolVar(&cfg.ec.ExperimentalInitialCorruptCheck, "experimental-initial-corrupt-check", cfg.ec.ExperimentalInitialCorruptCheck, "Enable to check data corruption before serving any client/peer traffic.") fs.DurationVar(&cfg.ec.ExperimentalCorruptCheckTime, "experimental-corrupt-check-time", cfg.ec.ExperimentalCorruptCheckTime, "Duration of time between cluster corruption check passes.") + fs.BoolVar(&cfg.ec.ExperimentalPreVote, "experimental-pre-vote", cfg.ec.ExperimentalPreVote, "Enable to run an additional Raft election phase.") // ignored for _, f := range cfg.ignored { diff --git a/etcdmain/help.go b/etcdmain/help.go index 6349a7e863b5..570fb3bc6ef5 100644 --- a/etcdmain/help.go +++ b/etcdmain/help.go @@ -195,5 +195,7 @@ experimental flags: duration of time between cluster corruption check passes. --experimental-enable-v2v3 '' serve v2 requests through the v3 backend under a given prefix. + --experimental-pre-vote 'false' + enable to run an additional Raft election phase. ` )