Valentyn Tymofieiev created BEAM-12567:
------------------------------------------

             Summary: Beam should retry failing GCS uploads 
                 Key: BEAM-12567
                 URL: https://issues.apache.org/jira/browse/BEAM-12567
             Project: Beam
          Issue Type: New Feature
          Components: io-py-gcp
            Reporter: Valentyn Tymofieiev


Sometimes GCS upload initiated by Beam stager fail due to a retriable error 
(such as 503), however Beam code and the underlying apitools-based storage 
client do not retry. 
We should retry some reasonable amount of times with a backoff logic, either on 
all or (better) on retriable errors.

Code pointers:

https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py#L553-L554

and similar:

https://github.com/apache/beam/blob/c026c9fa00239a6f3650a6fa69f3aa864f692afe/sdks/python/apache_beam/io/gcp/gcsio.py#L635-L639



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to