[ https://issues.apache.org/jira/browse/BEAM-12567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan Thompson updated BEAM-12567: --------------------------------- Resolution: Fixed Status: Resolved (was: Triage Needed) > 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 > Assignee: Ryan Thompson > Priority: P2 > Labels: starter > Time Spent: 4h 10m > Remaining Estimate: 0h > > 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)