From: Yan, Zheng Date: Thu, 4 Dec 2014 12:26:59 +0000 (+0800) Subject: MDSMonitor.cc: fix assertion caused by MDSMap::STATE_DNE state X-Git-Tag: v0.91~157^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F3076%2Fhead;p=ceph.git MDSMonitor.cc: fix assertion caused by MDSMap::STATE_DNE state Signed-off-by: Yan, Zheng --- diff --git a/src/mon/MDSMonitor.cc b/src/mon/MDSMonitor.cc index 08d37fa2083..f92c1372246 100644 --- a/src/mon/MDSMonitor.cc +++ b/src/mon/MDSMonitor.cc @@ -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: