-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Bigtable: Adding ABORTED as default retry code #6214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bigtable: Adding ABORTED as default retry code #6214
Conversation
- Added StatusCode.ABORTED as default retry code to bigtable. - Updated test case to verify the same.
igorbernstein2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should only retry ABORTED on ReadRows
...table/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java
Show resolved
Hide resolved
...table/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #6214 +/- ##
============================================
+ Coverage 47.53% 47.53% +<.01%
- Complexity 27472 27487 +15
============================================
Files 2534 2534
Lines 274924 274928 +4
Branches 31408 31403 -5
============================================
+ Hits 130681 130685 +4
Misses 134610 134610
Partials 9633 9633
Continue to review full report at Codecov.
|
...table/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java
Show resolved
Hide resolved
...table/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java
Outdated
Show resolved
Hide resolved
igorbernstein2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and thanks for dealing with my nitpicks :)
|
Is it possible that the same issue is present in the Python google client library for bigtable and has not been resolved yet? Or that in the Python google client library it is not possible to retry such failures? |
Fixes #6205
StatusCode.ABORTEDas default retry code to bigtable.