]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: use proper prefix when removing undecodable Share Blob. 43621/head
authorIgor Fedotov <ifed@suse.com>
Thu, 21 Oct 2021 15:39:54 +0000 (18:39 +0300)
committerIgor Fedotov <ifed@suse.com>
Thu, 21 Oct 2021 15:39:54 +0000 (18:39 +0300)
Fixes: https://tracker.ceph.com/issues/53011
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/os/bluestore/BlueStore.cc

index 4f59ebde508a581df7ea6760aa220072a87b731e..849bab5bcda70b030f8a71b8ae3ce93dd1fa8fc2 100644 (file)
@@ -8641,7 +8641,7 @@ int BlueStore::_fsck_on_open(BlueStore::FSCKDepth depth, bool repair)
            dout(20) << __func__ << " undecodable Shared Blob, key:'"
                     << pretty_binary_string(it->key())
                     << "', removing" << dendl;
-            repairer.remove_key(db, PREFIX_DEFERRED, it->key());
+            repairer.remove_key(db, PREFIX_SHARED_BLOB, it->key());
           }
           continue;
         }