]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix FSMap upgrade with daemons in the map
authorJohn Spray <john.spray@redhat.com>
Sat, 12 Mar 2016 16:39:47 +0000 (16:39 +0000)
committerJohn Spray <john.spray@redhat.com>
Sat, 12 Mar 2016 16:39:47 +0000 (16:39 +0000)
commite52f7b40ed7995276b096e8c66345eeb703177f0
tree733a4ea8217c5ba6eaaf47f1fea1439488614ce1
parent41cf56062ba83f36fda5959bddd7697423b24751
mds: fix FSMap upgrade with daemons in the map

This would trigger a sanity() assertion because
you'd have standbys in a Filesystem::mds_map, instead
of in standby_daemons.

Also, fix handling the enabled flag.

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