]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: be more tolerant of mds states
authorSage Weil <sage@newdream.net>
Thu, 22 May 2008 04:47:28 +0000 (21:47 -0700)
committerSage Weil <sage@newdream.net>
Thu, 22 May 2008 04:47:28 +0000 (21:47 -0700)
src/mon/MDSMonitor.cc

index e67c5eb97b9db0b7da65c2eddb8c6d54e0688f8a..7d6a7493669e1e15600826612db85fc6aa2a76c5 100644 (file)
@@ -691,6 +691,7 @@ void MDSMonitor::tick()
       int newstate = curstate;
       switch (curstate) {
       case MDSMap::STATE_CREATING:
+      case MDSMap::STATE_DNE:
        newstate = MDSMap::STATE_DNE;   // didn't finish creating
        last_beacon.erase(addr);
        break;