google-cloud-go
google-cloud-go copied to clipboard
fix(bigtable): Retry on RST_STREAM error
Fixes: https://github.com/googleapis/google-cloud-go/issues/6476
Issue: When operation fails with error "stream terminated by RST_STREAM with error code: INTERNAL_ERROR", it is not retried even though spanner client retries on same error.
Fix: Currently, gax.Invoke is retried only on DeadlineExceeded, Unavailable and Aborted. This PR modifies this behavior to retry on Internal error if error message contains "stream terminated by RST_STREAM"
Do not merge until release freeze ends mid April