bigtable: Retry on internal errors
This error code is frequently returned by front-end servers and,
until more precise error codes can be implemented, we must
cast a wide net.
@@ -73,7 +73,7 @@ func (c *Client) Close() error {
}
var (
- idempotentRetryCodes = []codes.Code{codes.DeadlineExceeded, codes.Unavailable, codes.Aborted}
+ idempotentRetryCodes = []codes.Code{codes.DeadlineExceeded, codes.Unavailable, codes.Aborted,codes.Internal}
isIdempotentRetryCode = make(map[codes.Code]bool)
retryOptions = []gax.CallOption{
gax.WithDelayTimeoutSettings(100*time.Millisecond, 2000*time.Millisecond, 1.2),
