mirror of https://gitee.com/bigwinds/arangodb
Something about `--agency.supervision-grace-period` (#10395)
This commit is contained in:
parent
6d03557a48
commit
79e145546b
|
@ -88,12 +88,12 @@ void AgencyFeature::collectOptions(std::shared_ptr<ProgramOptions> options) {
|
|||
|
||||
options->addOption(
|
||||
"--agency.election-timeout-min",
|
||||
"minimum timeout before an agent calls for new election [s]",
|
||||
"minimum timeout before an agent calls for new election (in seconds)",
|
||||
new DoubleParameter(&_minElectionTimeout));
|
||||
|
||||
options->addOption(
|
||||
"--agency.election-timeout-max",
|
||||
"maximum timeout before an agent calls for new election [s]",
|
||||
"maximum timeout before an agent calls for new election (in seconds)",
|
||||
new DoubleParameter(&_maxElectionTimeout));
|
||||
|
||||
options->addOption("--agency.endpoint", "agency endpoints",
|
||||
|
@ -108,12 +108,12 @@ void AgencyFeature::collectOptions(std::shared_ptr<ProgramOptions> options) {
|
|||
new BooleanParameter(&_supervision));
|
||||
|
||||
options->addOption("--agency.supervision-frequency",
|
||||
"arangodb cluster supervision frequency [s]",
|
||||
"arangodb cluster supervision frequency (in seconds)",
|
||||
new DoubleParameter(&_supervisionFrequency));
|
||||
|
||||
options->addOption(
|
||||
"--agency.supervision-grace-period",
|
||||
"supervision time, after which a server is considered to have failed [s]",
|
||||
"supervision time, after which a server is considered to have failed (in seconds)",
|
||||
new DoubleParameter(&_supervisionGracePeriod));
|
||||
|
||||
options->addOption("--agency.compaction-step-size",
|
||||
|
|
|
@ -142,7 +142,6 @@ for aid in `seq 0 $(( $NRAGENTS - 1 ))`; do
|
|||
--agency.size $NRAGENTS \
|
||||
--agency.supervision true \
|
||||
--agency.supervision-frequency $SFRE \
|
||||
--agency.supervision-grace-period 5.0 \
|
||||
--agency.wait-for-sync false \
|
||||
--database.directory active/data$PORT \
|
||||
--javascript.enabled false \
|
||||
|
|
|
@ -156,7 +156,6 @@ for aid in `seq 0 $(( $NRAGENTS - 1 ))`; do
|
|||
--agency.size $NRAGENTS \
|
||||
--agency.supervision true \
|
||||
--agency.supervision-frequency $SFRE \
|
||||
--agency.supervision-grace-period 5.0 \
|
||||
--agency.wait-for-sync false \
|
||||
--database.directory cluster/data$PORT \
|
||||
--javascript.enabled false \
|
||||
|
@ -184,7 +183,6 @@ for aid in `seq 0 $(( $NRAGENTS - 1 ))`; do
|
|||
--agency.size $NRAGENTS \
|
||||
--agency.supervision true \
|
||||
--agency.supervision-frequency $SFRE \
|
||||
--agency.supervision-grace-period 5.0 \
|
||||
--agency.wait-for-sync false \
|
||||
--database.directory cluster/data$PORT \
|
||||
--javascript.enabled false \
|
||||
|
|
Loading…
Reference in New Issue