]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: dont freak out when last_beacon has a failed mds in it
authorSage Weil <sage@newdream.net>
Fri, 11 Apr 2008 17:52:01 +0000 (10:52 -0700)
committerSage Weil <sage@newdream.net>
Fri, 11 Apr 2008 21:12:54 +0000 (14:12 -0700)
src/mon/MDSMonitor.cc

index ed6dee857395d8656be2ff17e91f4982d164b2dd..4de75ce3f011dc1e3e5ddd1ed72e068c20816087 100644 (file)
@@ -669,6 +669,7 @@ void MDSMonitor::tick()
       case MDSMap::STATE_REJOIN:
       case MDSMap::STATE_ACTIVE:
       case MDSMap::STATE_STOPPING:
+      case MDSMap::STATE_FAILED:
        newstate = MDSMap::STATE_FAILED;
        pending_mdsmap.last_failure = pending_mdsmap.epoch;
        break;