]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: when deleted obj removed in versioned bucket, extra del-marker added 43273/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 15 Jun 2021 19:20:33 +0000 (15:20 -0400)
committerCory Snyder <csnyder@iland.com>
Wed, 22 Sep 2021 20:26:23 +0000 (16:26 -0400)
commitfc9d085a2d1bbabd79665abbdbd5bf3006fca42b
treedf89bcd5bbc5b3edebbad82c569295dda4d094e5
parent9b3b2d9ad8f994344037d6f85fdf6a5ced74aec9
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)

Conflicts:
src/cls/rgw/cls_rgw_types.h
src/rgw/rgw_rados.cc

Cherry-pick notes:
- RGWRados::apply_olh_log does not take DoutPrefixProvider in Octopus
- change to use some namespace-qualified names in cls_rgw_types
src/cls/rgw/cls_rgw.cc
src/cls/rgw/cls_rgw_types.h
src/rgw/rgw_rados.cc