]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ECBackend: when removing the temp obj, use the right shard 1436/head
authorSamuel Just <sam.just@inktank.com>
Tue, 11 Mar 2014 21:41:05 +0000 (14:41 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 12 Mar 2014 17:34:17 +0000 (10:34 -0700)
Introduced in d0b1094ff7b98ef9262ecb45ee8324853003a77c
Fixes: #7681
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ECBackend.cc

index 65dcacbdde07d8c7a28f9d14d71b574a49a584aa..5738ab3790a063edb88c079cf5e26bd23b3a970a 100644 (file)
@@ -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);