]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: orphan tool shouldn't clean up head objects
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 22 Sep 2015 22:49:27 +0000 (15:49 -0700)
committerCasey Bodley <cbodley@redhat.com>
Fri, 9 Oct 2015 16:31:48 +0000 (12:31 -0400)
commit030f697d196df9963ecf4f05f727da4798c583dc
treebb8721da66039fdd79123d4355da62cd93874d6e
parent010836d059ad7082f63a96806e6d7f25c1e09cd5
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>
src/rgw/rgw_orphan.cc