]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix possible mds_lock not locked assert 41268/head
authorXiubo Li <xiubli@redhat.com>
Mon, 10 May 2021 09:14:29 +0000 (17:14 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 11 May 2021 03:44:37 +0000 (11:44 +0800)
Fixes: https://tracker.ceph.com/issues/50744
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/MDLog.cc

index 1fc4b58f17e8281ffab939f88a67a55be5b06576..5bb6da4fb27e3fd8355f7df6f614f4888248465e 100644 (file)
@@ -959,7 +959,7 @@ void MDLog::_recovery_thread(MDSContext *completion)
 
       // Oh dear, something unreadable in the store for this rank: require
       // operator intervention.
-      mds->damaged();
+      mds->damaged_unlocked();
       ceph_abort();  // damaged should not return
   }