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