From: Sage Weil Date: Wed, 17 Jul 2019 21:46:52 +0000 (-0500) Subject: mon/MonClient: allow retries to be adjusted X-Git-Tag: v14.2.5~157^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b560f03dcd01fd73c6870a3bbf9ff20bf01ec2fd;p=ceph.git mon/MonClient: allow retries to be adjusted Signed-off-by: Sage Weil Signed-off-by: Greg Farnum (cherry picked from commit 2c8e538e8352d17f8f64c77b80e18a764540c8d0) --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 72a0f389632..2d57f05fe41 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -343,6 +343,7 @@ OPTION(mon_client_ping_timeout, OPT_DOUBLE) // fail if we don't hear back OPTION(mon_client_hunt_interval_backoff, OPT_DOUBLE) // each time we reconnect to a monitor, double our timeout OPTION(mon_client_hunt_interval_max_multiple, OPT_DOUBLE) // up to a max of 10*default (30 seconds) OPTION(mon_client_max_log_entries_per_message, OPT_INT) +OPTION(mon_client_directed_command_retry, OPT_INT) OPTION(client_cache_size, OPT_INT) OPTION(client_cache_mid, OPT_FLOAT) OPTION(client_use_random_mds, OPT_BOOL) diff --git a/src/common/options.cc b/src/common/options.cc index 22691b9ddac..adb10c7f093 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2235,6 +2235,10 @@ std::vector