mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
mon: Removing dead code; been commented out for 5 months
This commit is contained in:
parent
efd344d454
commit
772daf213a
@ -383,15 +383,6 @@ void MDSMonitor::_updated(MMDSBeacon *m)
|
||||
|
||||
void MDSMonitor::committed()
|
||||
{
|
||||
// hackish: did all mds's shut down?
|
||||
/*
|
||||
if (mon->is_leader() &&
|
||||
g_conf.mon_stop_with_last_mds &&
|
||||
mdsmap.get_epoch() > 1 &&
|
||||
mdsmap.is_stopped())
|
||||
mon->messenger->send_message(new MGenericMessage(CEPH_MSG_SHUTDOWN),
|
||||
mon->monmap->get_inst(mon->whoami));
|
||||
*/
|
||||
tick();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user