]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/cloud: Handle RGWRESTStreamS3PutObj initialization failures
authorSoumya Koduri <skoduri@redhat.com>
Wed, 3 Apr 2024 07:45:38 +0000 (13:15 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Wed, 3 Apr 2024 10:39:27 +0000 (16:09 +0530)
commita4b906009701879dc6b7b2686c5b465b4a9e47f2
tree2642ec062b9eedff00308e8170f007fbd75027bd
parentf19765ec08fdf42c1667590e74db959361550337
rgw/cloud: Handle RGWRESTStreamS3PutObj initialization failures

With the recent code added to handle connection errors
(commit#e200499bb3c5703862b92a4d7fb534d98601f1bf), RGWRESTStreamS3PutObj
initialization could fail at times if there were any failed requests to the
cloud endpoint within CONN_STATUS_EXPIRE_SECS period.

This fix is to handle such errors and abort the transition/sync
requests which can be retried later by LC/Sync worker threads.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/driver/rados/rgw_lc_tier.cc
src/rgw/driver/rados/rgw_sync_module_aws.cc