]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
MDSMonitor: handle standby already without fscid
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 9 Jan 2020 19:54:13 +0000 (11:54 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 9 Jan 2020 19:54:13 +0000 (11:54 -0800)
commit41589d40d973a01c5a03d3cb075881e2442e4b61
tree34a9f3de74a19fc2fb168b2895d2f1841127256b
parentbae0c673958ac56ff85b30988711fcb0c75a7104
MDSMonitor: handle standby already without fscid

If prepare_beacon is called on an existing standby's beacon, then it
will handle any changes to get_fs() but if there's not been a change to
the empty case, the MDSMonitor will assert.

Fixes: https://tracker.ceph.com/issues/43542
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/FSMap.cc
src/mds/FSMap.h