Skip to content

Commit

Permalink
feat(bigquery/storage/managedwriter): retry on FailedPrecondition (go…
Browse files Browse the repository at this point in the history
…ogleapis#6761)

Per guidance from backend team, include FailedPrecondition as part
of the allowed retry.
  • Loading branch information
shollyman authored and kimihrr committed Sep 28, 2022
1 parent fd995dc commit 19ff48a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bigquery/storage/managedwriter/retry.go
Expand Up @@ -52,6 +52,7 @@ func retryPredicate(err error) (shouldRetry, aggressiveBackoff bool) {
case codes.Aborted,
codes.Canceled,
codes.DeadlineExceeded,
codes.FailedPrecondition,
codes.Internal,
codes.Unavailable:
shouldRetry = true
Expand Down

0 comments on commit 19ff48a

Please sign in to comment.