From: Samuel Just Date: Tue, 11 Mar 2014 21:41:05 +0000 (-0700) Subject: ECBackend: when removing the temp obj, use the right shard X-Git-Tag: v0.78~36^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=980d2b59e4bb4685fdbe1cd0ff14cacc152b251a;p=ceph.git ECBackend: when removing the temp obj, use the right shard Introduced in d0b1094ff7b98ef9262ecb45ee8324853003a77c Fixes: #7681 Signed-off-by: Samuel Just --- diff --git a/src/osd/ECBackend.cc b/src/osd/ECBackend.cc index 65dcacbdde07..5738ab3790a0 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);