]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix unhealth heartbeat during rejoin 21144/head
authordongdong tao <tdd21151186@gmail.com>
Fri, 30 Mar 2018 15:30:55 +0000 (23:30 +0800)
committerdongdong tao <tdd21151186@gmail.com>
Thu, 5 Apr 2018 03:51:41 +0000 (11:51 +0800)
commit8539a9827ba86c44a5285925923a16b8764a6a0a
tree97e35d66755806e4b4b1a7f530dfcc240c20bbc2
parent7a2b56c28af95adf28a798bb8fb230a7767d8350
mds: fix unhealth heartbeat during rejoin

function process_imported_caps might hold mds_lock too long,
mds tick thread will be starved, and leads to unhealth heartbeat check.
which would eventually make the mds been kicked by the monitor during rejoin phase.

Fixes: https://tracker.ceph.com/issues/23530
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
src/mds/MDCache.cc