]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: orphan tool shouldn't clean up head objects 6351/head
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 22 Sep 2015 22:49:27 +0000 (15:49 -0700)
committerAbhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Thu, 22 Oct 2015 13:41:53 +0000 (19:11 +0530)
commit99b4d1df3f6867e5ff0dd74691203737f6de6974
tree5d5f5a4b803403029a05f670253c3bffca938965
parent95292699291242794510b39ffde3f4df67898d3a
rgw: orphan tool shouldn't clean up head objects

Fixes: #12958
Head objects are mutable, so removing them can race with object removal
and a later recreation, so we might end up cleaning them up when we don't
need to.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 030f697d196df9963ecf4f05f727da4798c583dc)
src/rgw/rgw_orphan.cc