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
.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")
// 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;