]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ECBackend,ReplicatedPG: delete temp if we didn't get the transaction 1367/head
authorSamuel Just <sam.just@inktank.com>
Mon, 3 Mar 2014 23:33:51 +0000 (15:33 -0800)
committerSamuel Just <sam.just@inktank.com>
Tue, 4 Mar 2014 23:29:20 +0000 (15:29 -0800)
commitd0b1094ff7b98ef9262ecb45ee8324853003a77c
tree4c3de32187d3376a949bad302d877fce5f424604
parentf2a4eec1d68524a13951ba48ecb71d0855453b68
ECBackend,ReplicatedPG: delete temp if we didn't get the transaction

We always send the transaction for operations on temp objects,
but if we didn't get the final transacition on the actual object,
we might end up failing to remove the temp object.  Thus, if
we get a sub op and don't have the transaction, just remove the
named temp objects.

Fixes: #7447
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ECBackend.cc
src/osd/ReplicatedPG.cc