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