From 980d2b59e4bb4685fdbe1cd0ff14cacc152b251a Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Tue, 11 Mar 2014 14:41:05 -0700 Subject: [PATCH] ECBackend: when removing the temp obj, use the right shard Introduced in d0b1094ff7b98ef9262ecb45ee8324853003a77c Fixes: #7681 Signed-off-by: Samuel Just --- src/osd/ECBackend.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/osd/ECBackend.cc b/src/osd/ECBackend.cc index 65dcacbdde07d..5738ab3790a06 100644 --- a/src/osd/ECBackend.cc +++ b/src/osd/ECBackend.cc @@ -807,7 +807,12 @@ void ECBackend::handle_sub_write( ++i) { dout(10) << __func__ << ": removing object " << *i << " since we won't get the transaction" << dendl; - localt->remove(temp_coll, *i); + localt->remove( + temp_coll, + ghobject_t( + *i, + ghobject_t::NO_GEN, + get_parent()->whoami_shard().shard)); } } clear_temp_objs(op.temp_removed); -- 2.39.5