mon_accept_timeout: 10.0, // on leader, if paxos update isn't accepted
mon_stop_on_last_unmount: false,
mon_stop_with_last_mds: false,
+ mon_allow_mds_bully: true, // allow a booting mds to (forcibly) claim an mds #
// --- client ---
client_cache_size: 300,
float mon_accept_timeout;
bool mon_stop_on_last_unmount;
bool mon_stop_with_last_mds;
+ bool mon_allow_mds_bully;
// client
int client_cache_size;
// assign a name.
if (from >= 0) {
// wants to be (or already is) a specific MDS.
- if (!mdsmap.have_inst(from) || mdsmap.get_inst(from) != m->get_mds_inst()) {
+ if (!g_conf.mon_allow_mds_bully &&
+ (!mdsmap.have_inst(from) || mdsmap.get_inst(from) != m->get_mds_inst())) {
dout(10) << "mds_beacon boot: mds" << from << " is someone else" << endl;
from = -1;
} else {