]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: establish session with mgr only after added to FSMap
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 6 Nov 2019 03:51:17 +0000 (19:51 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 8 Nov 2019 18:02:12 +0000 (10:02 -0800)
commite765f2d533440cfc4189f36fcaba24617a302e84
tree2e8ab4464ad0a61e47708a29b320011c4e811444
parent046137f819aae72f1423e3feb213f0e46c97c9ce
mds: establish session with mgr only after added to FSMap

Note that we now sub to the mgrmap after init because the MgrClient
connection to the mgr is driven by receipt of the MgrMap.

This is important so that the MDS does not have metadata with the mgr
when the mons are ignoring the MDS otherwise due to CompatSet
incompatibilities.

Fixes: https://tracker.ceph.com/issues/41538
Fixes: https://tracker.ceph.com/issues/42635
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/MDSDaemon.cc
src/mgr/MgrClient.cc
src/mgr/MgrClient.h