]> 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 42645/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 15 Jun 2021 19:20:33 +0000 (15:20 -0400)
committerCory Snyder <csnyder@iland.com>
Wed, 4 Aug 2021 15:17:49 +0000 (11:17 -0400)
commit1e575378b00fc2c8b56b09834276e68dddbb1385
tree8b0eee2ca2ee33920100938a260598ede1415267
parente3a73eb0dfafe15fd5f69c971b3a588008fec02e
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>
(cherry picked from commit 69d7589fb1305b7d202ffd126c3c835e7cd0dda3)
src/cls/rgw/cls_rgw.cc
src/cls/rgw/cls_rgw_types.h
src/rgw/rgw_rados.cc