]> 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, 10 Apr 2024 19:03:17 +0000 (00:33 +0530)
commit1fde509e60d9efb320cb04b76c3341eca8c037ee
tree96e1d22115a93bccf7def43f1b1312121efaf9d2
parentdea717a37c7849ca8459c02fb965020aedcc0a9a
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.

(cherry picked from commit a4b906009701879dc6b7b2686c5b465b4a9e47f2)
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