From 8b3934fc0f8e8e69a60cd5d9dd0cc850d8f92010 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Wed, 5 Mar 2014 12:51:08 -0800 Subject: [PATCH] PGBackend::rollback_stash: remove the correct shard Fixes: #7616 Signed-off-by: Samuel Just --- src/osd/PGBackend.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/osd/PGBackend.cc b/src/osd/PGBackend.cc index f6698a1864de9..19f3d997d0d9f 100644 --- a/src/osd/PGBackend.cc +++ b/src/osd/PGBackend.cc @@ -235,7 +235,9 @@ void PGBackend::rollback_stash( version_t old_version, ObjectStore::Transaction *t) { assert(!hoid.is_temp()); - t->remove(coll, hoid); + t->remove( + coll, + ghobject_t(hoid, ghobject_t::NO_GEN, get_parent()->whoami_shard().shard)); t->collection_move_rename( coll, ghobject_t(hoid, old_version, get_parent()->whoami_shard().shard), -- 2.39.5