]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
MDSMonitor.cc: fix assertion caused by MDSMap::STATE_DNE state 3076/head
authorYan, Zheng <zyan@redhat.com>
Thu, 4 Dec 2014 12:26:59 +0000 (20:26 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 4 Dec 2014 12:28:10 +0000 (20:28 +0800)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mon/MDSMonitor.cc

index 08d37fa208324a8dd2580af261a663d4f24c852d..f92c137224670270a1bdd9ee6159a507efa29d4f 100644 (file)
@@ -1656,6 +1656,7 @@ void MDSMonitor::tick()
        case MDSMap::STATE_CLIENTREPLAY:
        case MDSMap::STATE_ACTIVE:
        case MDSMap::STATE_STOPPING:
+       case MDSMap::STATE_DNE:
          si.state = MDSMap::STATE_REPLAY;
          break;
        default: