]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: Removing dead code; been commented out for 5 months
authorGreg Farnum <gregf@hq.newdream.net>
Tue, 23 Mar 2010 19:40:55 +0000 (12:40 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Tue, 23 Mar 2010 19:40:55 +0000 (12:40 -0700)
src/mon/MDSMonitor.cc

index 408d7c1b841f8466a5c4c35022eb1515ad30a894..67d0088a0ed39c684d817348701fe321a639395d 100644 (file)
@@ -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();
 }