]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: drop mon_debug_no_require_mimic
authorSage Weil <sage@redhat.com>
Thu, 30 May 2019 14:16:06 +0000 (09:16 -0500)
committerSage Weil <sage@redhat.com>
Tue, 2 Jul 2019 13:37:48 +0000 (08:37 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/legacy_config_opts.h
src/common/options.cc
src/mon/OSDMonitor.cc

index b5a02d915e2d13d989b1501b1f68c85a110a349c..489e9373a2aed6539d154c408057bcd5cdc97f39 100644 (file)
@@ -279,7 +279,6 @@ OPTION(mon_debug_deprecated_as_obsolete, OPT_BOOL) // consider deprecated comman
 OPTION(mon_debug_dump_transactions, OPT_BOOL)
 OPTION(mon_debug_dump_json, OPT_BOOL)
 OPTION(mon_debug_dump_location, OPT_STR)
-OPTION(mon_debug_no_require_mimic, OPT_BOOL)
 OPTION(mon_debug_no_require_bluestore_for_ec_overwrites, OPT_BOOL)
 OPTION(mon_debug_no_initial_persistent_features, OPT_BOOL)
 OPTION(mon_inject_transaction_delay_max, OPT_DOUBLE)      // seconds
index f27ea15f12adb9cdbaa1d2c865f09f034be3cf80..27b6d52e6442e6112a12512d87467947ae16fe70 100644 (file)
@@ -1935,12 +1935,6 @@ std::vector<Option> get_global_options() {
     .set_description("file to dump paxos transactions to")
     .add_see_also("mon_debug_dump_transactions"),
 
-    Option("mon_debug_no_require_mimic", Option::TYPE_BOOL, Option::LEVEL_DEV)
-    .set_default(false)
-    .add_service("mon")
-    .set_flag(Option::FLAG_CLUSTER_CREATE)
-    .set_description("do not set mimic feature for new mon clusters"),
-
     Option("mon_debug_no_require_nautilus", Option::TYPE_BOOL, Option::LEVEL_DEV)
     .set_default(false)
     .add_service("mon")
index 940dfec9288acf610e68827f2677f6c041c7da7e..29c2b08ac14a992f7ebc26b360ca035b780aff68 100644 (file)
@@ -340,14 +340,8 @@ void OSDMonitor::create_initial()
   // new cluster should require latest by default
   if (g_conf().get_val<bool>("mon_debug_no_require_octopus")) {
     if (g_conf().get_val<bool>("mon_debug_no_require_nautilus")) {
-      if (g_conf()->mon_debug_no_require_mimic) {
-       derr << __func__ << " mon_debug_no_require_octopus, nautilus, and mimic=true"
-            << dendl;
-       newmap.require_osd_release = ceph_release_t::luminous;
-      } else {
-       derr << __func__ << " mon_debug_no_require_octopus and nautilus=true" << dendl;
-       newmap.require_osd_release = ceph_release_t::mimic;
-      }
+      derr << __func__ << " mon_debug_no_require_octopus and nautilus=true" << dendl;
+      newmap.require_osd_release = ceph_release_t::mimic;
     } else {
       derr << __func__ << " mon_debug_no_require_octopus=true" << dendl;
       newmap.require_osd_release = ceph_release_t::nautilus;