]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: flush mds log before finishing STATE_STARTING
authorethanwu <ethanwu@synology.com>
Sun, 24 Mar 2024 09:11:16 +0000 (17:11 +0800)
committerethanwu <ethanwu@synology.com>
Mon, 25 Mar 2024 01:32:43 +0000 (09:32 +0800)
commitee5472edd6fe80ed043c3eb73322348367f9bb22
tree4650a4fac4f7b5661a2ae12729536cba20880679
parent767494d68c8c3130097f3cf794aadccc5bd98806
mds: flush mds log before finishing STATE_STARTING

If we donn't flush mds log before requesting STATE_ACTIVE, and
mds happens to stop later before the log reaches journal.
The take-over mds will have no SubtreeMap to replay, and fail
later at non-empty subtree check.

Fixes: https://tracker.ceph.com/issues/65094
Signed-off-by: ethanwu <ethanwu@synology.com>
src/mds/MDSRank.cc