]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
MDSMonitor: Remove STATE_ONESHOT_REPLAY from takeover logic in tick().
authorGreg Farnum <gregf@hq.newdream.net>
Thu, 9 Dec 2010 00:30:32 +0000 (16:30 -0800)
committerGreg Farnum <gregf@hq.newdream.net>
Thu, 6 Jan 2011 19:12:14 +0000 (11:12 -0800)
If something dies during a journal-check we shouldn't have anybody
doing standby for them, so assert out!

Signed-off-by: Greg Farnum <gregf@hq.newdream.net>
src/mon/MDSMonitor.cc

index 49176eebdce9d9ecd8d613a9a79c4a74f4885cab..610fd1e742c3ead9cdc51086b05f7a8b61847b66 100644 (file)
@@ -834,7 +834,6 @@ void MDSMonitor::tick()
        switch (info.state) {
        case MDSMap::STATE_CREATING:
        case MDSMap::STATE_STARTING:
-       case MDSMap::STATE_ONESHOT_REPLAY:
          si.state = info.state;
          break;
         case MDSMap::STATE_STANDBY_REPLAY: