]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
MDSMonitor: do not allow MDS to transition from STATE_STOPPING 3683/head
authorGreg Farnum <gfarnum@redhat.com>
Tue, 10 Feb 2015 22:18:52 +0000 (14:18 -0800)
committerGreg Farnum <gfarnum@redhat.com>
Tue, 10 Feb 2015 22:18:52 +0000 (14:18 -0800)
commit96560185925c311535d422fe97b87db73ef8edea
treef3b92edc435d15f0eab386d982093e9145d63068
parent744f48e1cf6347e16c049f200bbe58d2ea26fef7
MDSMonitor: do not allow MDS to transition from STATE_STOPPING

They can only go into STATE_STOPPED. I was a little concerned
that some of the rejoin code might inadvertently allow a stopping
MDS to end up active, but after a little auditing it looks like
that all behaves properly and this is an invariant we maintain.

Fixes: #10791
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/mon/MDSMonitor.cc