]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: reinstate conditional destruction 5212/head
authorJohn Spray <john.spray@redhat.com>
Tue, 28 Jul 2015 07:57:08 +0000 (08:57 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 28 Jul 2015 08:05:09 +0000 (09:05 +0100)
commit61643c14f2e7eff0acebb4a2f2d5d4399eb3b022
tree2c4168ceba852f7d54064b2ed790dee4c43a503b
parent37370c7f563f7a42df82cb5fd46a2b93fe5622d6
mds: reinstate conditional destruction

Still got xlist not empty asserts on deletion of MDSRank,
so reinstate the condition that we only delete on
is_stopped().

Additionally, allow deletion in the case that we never had
a rank to begin with.

Signed-off-by: John Spray <john.spray@redhat.com>
src/ceph_mds.cc
src/mds/MDSDaemon.cc
src/mds/MDSDaemon.h