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 Sep 28, 2022
1 parent 6c384c5 commit d1a444d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bigquery/storage/managedwriter/retry.go
Original file line number Diff line number Diff line change
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 d1a444d

Please sign in to comment.