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>