]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: apply_olh_log should clear_olh before trimming olh log
authorCory Snyder <csnyder@1111systems.com>
Wed, 14 Jun 2023 14:01:43 +0000 (14:01 +0000)
committerCory Snyder <csnyder@1111systems.com>
Tue, 4 Jul 2023 09:45:46 +0000 (09:45 +0000)
commitdfbe4f9cb078bad9a0244ce433a9728f8bd6b912
tree640052ddcb5370b28f3c8f69c87431dd9e56393b
parent38133e59d293dc8c16c92666967783d9e08a79cd
rgw: apply_olh_log should clear_olh before trimming olh log

When pending_removal is true and the log is trimmed prior to
clearing olh, it allows for the possibility that the olh is not
cleared (e.g. due to new pending xattrs on the olh obj), but the
olh log entries are removed.

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
src/rgw/driver/rados/rgw_rados.cc