]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG::submit_push_complete don't remove the head object
authorSamuel Just <sam.just@inktank.com>
Wed, 22 May 2013 21:37:42 +0000 (14:37 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 22 May 2013 21:37:43 +0000 (14:37 -0700)
commit08c39b84308f17afef776e08c09be3faa2b9eab4
tree3c13a1c491aab5fe8a8f0ce8ca2fd807bc5594ca
parent489cd5c441d865f48f40acf9d4d9181e0bcc7247
ReplicatedPG::submit_push_complete don't remove the head object

The object would have had to have been removed already.  With
fd caching, this extra remove might check the wrong replay_guard
since the fd caching mechanism assumes that between any operation
on an hobject_t oid and a remove operation, all operations on that
hobject_t must refer to the same inode.

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