]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix possible mds_lock not locked assert 42058/head
authorXiubo Li <xiubli@redhat.com>
Mon, 10 May 2021 09:14:29 +0000 (17:14 +0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 28 Jun 2021 19:28:07 +0000 (12:28 -0700)
Fixes: https://tracker.ceph.com/issues/50744
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 59ab95c1a86823c372e62a147ecc6e9ed434edd2)

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
   }