From: Patrick Donnelly Date: Fri, 22 Feb 2019 00:34:07 +0000 (-0800) Subject: fs: obsolete standby_for config options X-Git-Tag: v14.1.1~93^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d4638836ba2335f5b8eeb4a7624992caf7bb6901;p=ceph-ci.git fs: obsolete standby_for config options The operator can no longer configure which rank/fscid/name an MDS wants to follow or standby for. This was an unfortunately confusing set of config options as ultimately the MDSMonitor (by default) would set a standby to follow any fscid/rank if no standby is available that explicitly follows the failed rank. It is suggested that operators instead use the `standby_count_wanted` setting on each fs to ensure that sufficient standbys are available. The temporary effect of this commit is that the MDSMonitor no longer assigns any standby to standby-replay, to be fixed in the following commits. Signed-off-by: Patrick Donnelly --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 247207e447e..85b43a99d65 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -241,7 +241,6 @@ OPTION(mon_allow_pool_delete, OPT_BOOL) // allow pool deletion OPTION(mon_fake_pool_delete, OPT_BOOL) // fake pool deletion (add _DELETED suffix) OPTION(mon_globalid_prealloc, OPT_U32) // how many globalids to prealloc OPTION(mon_osd_report_timeout, OPT_INT) // grace period before declaring unresponsive OSDs dead -OPTION(mon_force_standby_active, OPT_BOOL) // should mons force standby-replay mds to be active OPTION(mon_warn_on_legacy_crush_tunables, OPT_BOOL) // warn if crush tunables are too old (older than mon_min_crush_required_version) OPTION(mon_crush_min_required_version, OPT_STR) OPTION(mon_warn_on_crush_straw_calc_version_zero, OPT_BOOL) // warn if crush straw_calc_version==0 @@ -475,10 +474,6 @@ OPTION(mds_inject_traceless_reply_probability, OPT_DOUBLE) /* percentage OPTION(mds_wipe_sessions, OPT_BOOL) OPTION(mds_wipe_ino_prealloc, OPT_BOOL) OPTION(mds_skip_ino, OPT_INT) -OPTION(mds_standby_for_name, OPT_STR) -OPTION(mds_standby_for_rank, OPT_INT) -OPTION(mds_standby_for_fscid, OPT_INT) -OPTION(mds_standby_replay, OPT_BOOL) OPTION(mds_enable_op_tracker, OPT_BOOL) // enable/disable MDS op tracking OPTION(mds_op_history_size, OPT_U32) // Max number of completed ops to track OPTION(mds_op_history_duration, OPT_U32) // Oldest completed op to track diff --git a/src/common/options.cc b/src/common/options.cc index d5fc6d89909..0e5880cc2ff 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1593,11 +1593,6 @@ std::vector