]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls/rgw: when removing delete marker, clean up instance entry
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 22 Dec 2014 23:03:04 +0000 (15:03 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 19 Jan 2015 23:57:59 +0000 (15:57 -0800)
commitc4cf0e2eaa6b1cfeb8a558769808e6ec4f308be7
tree3629477e324dc52f01fda6568614f0808eb9c082
parente8afa65f50ee1beae891ec054d69770bf38fd6a8
cls/rgw: when removing delete marker, clean up instance entry

Since we create the instance entry at the bucket index, we should also
remove it. Otherwise we end up with objects that have bucket index
entries, but don't have olh. In these cases we'll be failin operations
on these objects, as their bucket index olh tag will always mismatch the
actual object olh tag.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/cls/rgw/cls_rgw.cc