1
0
Fork 0

Something about `--agency.supervision-grace-period` (#10395)

This commit is contained in:
Jan 2019-11-12 10:43:25 +01:00 committed by GitHub
parent 6d03557a48
commit 79e145546b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 7 deletions

View File

@ -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",

View File

@ -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 \

View File

@ -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 \