FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: fix retry info algorithm setting by mutianf · Pull Request #2562 · googleapis/java-bigtable · GitHub

This repository was archived by the owner on May 8, 2026. It is now read-only.
/ java-bigtable Public archive

fix: fix retry info algorithm setting - #2562

Merged
gcf-merge-on-green[bot] merged 7 commits into
googleapis:mainfrom
mutianf:fix
Apr 28, 2025
Merged

fix: fix retry info algorithm setting#2562
gcf-merge-on-green[bot] merged 7 commits into
googleapis:mainfrom
mutianf:fix

Conversation

mutianf commented Apr 23, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Fix a bug in RetryInfo retry algorithm.

In the following scenario: error retry delay = 1, error retry delay = 2, error with no retry delay. Currently the client did not set retry delay duration which is default to 0 for the first attempt. This will cause all the subsequent attempts from the same error to not have any retry delay if the retry delay is not present.

The fix sets retry delay duration to be the retry delay from the last attempt. We'll decide if we want to change this behavior later.

Conformance test currently assumes that the client will reset the retry delay. So also disabling the conformance test for now.

mutianf requested review from a team April 23, 2025 20:27
product-auto-label Bot added size: xl Pull request size is extra large. api: bigtable Issues related to the googleapis/java-bigtable API. labels Apr 23, 2025
mutianf marked this pull request as draft April 23, 2025 20:28
mutianf marked this pull request as ready for review April 24, 2025 16:29
mutianf requested a review from a team April 24, 2025 16:29
Comment thread tpc-test/src/main/java/Main.java Outdated
product-auto-label Bot added size: xs Pull request size is extra small. and removed size: xl Pull request size is extra large. labels Apr 24, 2025

Copy link
Copy Markdown
Contributor

Is it feasible to add a test for this scenario? e.g. the actual behaviour of the retry when getting error retry delay = 1 -> error retry delay = 2 -> error with no retry delay

mutianf commented Apr 24, 2025

Copy link
Copy Markdown
Contributor Author

Is it feasible to add a test for this scenario? e.g. the actual behaviour of the retry when getting error retry delay = 1 -> error retry delay = 2 -> error with no retry delay

Yeah, in the conformance test once we decide what to do!

Copy link
Copy Markdown
Contributor

lgtm!

mutianf added the automerge Merge the pull request once unit tests and other checks pass. label Apr 28, 2025
gcf-merge-on-green Bot merged commit c424ccb into googleapis:main Apr 28, 2025
gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Apr 28, 2025
mutianf deleted the fix branch April 28, 2025 16:34
gcf-merge-on-green Bot pushed a commit that referenced this pull request Apr 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigtable Issues related to the googleapis/java-bigtable API. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL