]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: cancel olh modification by removing pending xattrs in set_olh error scenarios
authorCory Snyder <csnyder@1111systems.com>
Wed, 31 May 2023 18:01:02 +0000 (18:01 +0000)
committerCory Snyder <csnyder@1111systems.com>
Wed, 19 Jul 2023 11:08:47 +0000 (11:08 +0000)
commit9fb9437d0412049215dd2239e52890e87ff0b09f
treeeb568b19b7066e99757a82f8f661563fc32cc5d7
parent8683d8e376fc0cd6b03bf2fa236940a10c6f5dcb
rgw: cancel olh modification by removing pending xattrs in set_olh error scenarios

Makes request threads clean up after themselves and remove their pending
xattrs from OLH objects before they return an error from set_olh.

Fixes: https://tracker.ceph.com/issues/59663
Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 38133e59d293dc8c16c92666967783d9e08a79cd)

Conflicts:
qa/workunits/rgw/test_rgw_reshard.py
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h

Cherry-pick notes:
- conflicts due to optional_yield param differences
- conflicts in test_rgw_reshard.py due to changes on main
qa/suites/rgw/verify/tasks/versioning.yml [new file with mode: 0644]
qa/workunits/rgw/common.py [new file with mode: 0755]
qa/workunits/rgw/run-versioning.sh [new file with mode: 0755]
qa/workunits/rgw/test_rgw_reshard.py
qa/workunits/rgw/test_rgw_versioning.py [new file with mode: 0755]
src/common/options/rgw.yaml.in
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h