From: Sage Weil Date: Wed, 17 Jul 2019 21:46:52 +0000 (-0500) Subject: mon/MonClient: allow retries to be adjusted X-Git-Tag: v15.1.0~1758^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2c8e538e8352d17f8f64c77b80e18a764540c8d0;p=ceph.git mon/MonClient: allow retries to be adjusted Signed-off-by: Sage Weil Signed-off-by: Greg Farnum --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 88a6b94882b..b1928d74a15 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -334,6 +334,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 556a612eb35..7d64596d9b5 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2220,6 +2220,10 @@ std::vector