]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix FSMap upgrade on mixed mon versions
authorJohn Spray <john.spray@redhat.com>
Sat, 12 Mar 2016 18:01:29 +0000 (18:01 +0000)
committerJohn Spray <john.spray@redhat.com>
Sat, 12 Mar 2016 18:04:43 +0000 (18:04 +0000)
commitbdcff151d2cd74eeadbc08e7c9317b4357feba01
tree36ac46b85a0dd03ad652fca83b17c7709cd672a8
parente52f7b40ed7995276b096e8c66345eeb703177f0
mds: fix FSMap upgrade on mixed mon versions

The upgrade path was asserting that FSMap::filesystems
was empty.  This would be violated if FSMap was initially
loaded from disk in old format, and then also received
off the network (but with a newer epoch) in old format.

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