]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: maintain object instance within RGWRadosObject::get_obj_state method
authorCory Snyder <csnyder@iland.com>
Mon, 25 Jul 2022 19:47:16 +0000 (15:47 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 4 Aug 2022 14:38:37 +0000 (10:38 -0400)
commita2e3cd7171fd533bbd3b2f1846394f3cfaa1ac29
tree21b7b02af8a4063c2dc87bd5a644c878f018067b
parentec11d8ae3aaa8f75960aac2e48864e760c1c358c
rgw: maintain object instance within RGWRadosObject::get_obj_state method

It seems that the object instance was being stripped from the rgw_obj
inadvertently wihtin the RGWRadosObject::get_obj_state method. This
change fixes some S3 behavior related to concurrency and ECANCELED errors.

This is a partial cherry-pick from:
https://github.com/ceph/ceph/commit/72d1a363263cf707d022ee756122236ba175cda2

Fixes: https://tracker.ceph.com/issues/56646
Signed-off-by: Cory Snyder <csnyder@iland.com>
src/rgw/rgw_sal_rados.cc