]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds : move start_files_to_recover() to recovery_done 36532/head
authorSimon Gao <simon29rock@gmail.com>
Sun, 9 Aug 2020 07:38:30 +0000 (15:38 +0800)
committerSimon Gao <simon29rock@gmail.com>
Thu, 13 Aug 2020 01:51:45 +0000 (09:51 +0800)
commitfafb5b4f84e12ba00a68550ffb73fc9bcde867a0
treea2e3851042386a7a3a19281452207880958d28ce
parent4789b4fea659fb8c0b1fdbd1215cd7263dec7d4b
mds : move start_files_to_recover()  to recovery_done

the requests in the queue, named waiting_for_replay, may modify the state of the filelock,
resulting in the wrong lock state when repairing file (start_files_to_recover)

Fixes : https://tracker.ceph.com/issues/46906
Signed-off-by: Simon Gao <simon29rock@gmail.com>
src/mds/MDSRank.cc