]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: when deleted obj removed in versioned bucket, extra del-marker added 41897/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 15 Jun 2021 19:20:33 +0000 (15:20 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 18 Jun 2021 20:04:22 +0000 (16:04 -0400)
commit69d7589fb1305b7d202ffd126c3c835e7cd0dda3
treecdb999fce563de9b57d01d530a7850d3471ce98a
parentdfd9f85d5fdd433771ba4bf8c9eb43d6d9b39eb9
rgw: when deleted obj removed in versioned bucket, extra del-marker added

After initial checks are complete, this will read the OLH earlier than
previously to check the delete-marker flag and under the bug's
conditions will return -ENOENT rather than create a spurious delete
marker.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/cls/rgw/cls_rgw.cc
src/cls/rgw/cls_rgw_types.h
src/rgw/rgw_rados.cc