You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Devon Biggerstaff (JIRA)" <ji...@apache.org> on 2018/04/30 01:22:00 UTC

[jira] [Created] (BEAM-4187) Make Context.errors public in InsertRetryPolicy

Devon Biggerstaff created BEAM-4187:
---------------------------------------

             Summary: Make Context.errors public in InsertRetryPolicy
                 Key: BEAM-4187
                 URL: https://issues.apache.org/jira/browse/BEAM-4187
             Project: Beam
          Issue Type: Improvement
          Components: io-java-gcp
    Affects Versions: 2.4.0
         Environment: macOS High Sierra running java 9.0.4 and gcloud components 199.0.0, using beam java sdk 2.4.0 and dataflow runner
            Reporter: Devon Biggerstaff
            Assignee: Chamikara Jayalath


Context.errors should be public in sdk.io.gcp.bigquery.InsertRetryPolicy so that it is possible for users to create their own InsertRetryPolicy which reacts differently to different errors.

Also, "notFound" should probably be in PERSISTENT_ERRORS, the list of non-transient errors for which InsertRetryPolicy.retryTransientErrors does *not* retry infinitely-many times.

Finally it would be great if users could specify a max number of retry attempts.

This issue may be related to Beam-3271.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)