]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/cloud-transition: fix the crash with accessing invalid attrs
authorSoumya Koduri <skoduri@redhat.com>
Thu, 9 May 2024 07:02:14 +0000 (12:32 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Thu, 9 May 2024 07:02:14 +0000 (12:32 +0530)
commite3207e3c12126ddcd5c123d19f85bd113a11283f
tree61a36ad3c1625531a186fb57120efaeec4bd879f
parent8dc533735b885941ceb1c8b4bb2b82502526a057
rgw/cloud-transition: fix the crash with accessing invalid attrs

The obj_state may not be valid anymore post LC operations (esp.,
cloud-transition). Hence read and store etag prior to them to be used
later by notification (publish_commit).

Fixes: https://tracker.ceph.com/issues/65862
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/rgw_lc.cc