]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: use proper prefix when removing undecodable Share Blob. 43883/head
authorIgor Fedotov <ifed@suse.com>
Thu, 21 Oct 2021 15:39:54 +0000 (18:39 +0300)
committerIgor Fedotov <ifed@suse.com>
Thu, 11 Nov 2021 09:31:26 +0000 (12:31 +0300)
Fixes: https://tracker.ceph.com/issues/53011
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit aaa0a172080a5a9ecba76be364af9a5277bc2187)

src/os/bluestore/BlueStore.cc

index 1da41d99a08a04191b36b284e4b32b3d1883d3c9..3b46f2f171600f6b5380f81c64abef7445348bd0 100644 (file)
@@ -8778,7 +8778,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;
         }