GeezerVison is showing github.com — Add default retry params that align with SLA by ajkannan · Pull Request #860 · googleapis/google-cloud-java
Conversation
Fixes #857
Some notes/questions:
- I've changed the retry settings for services that explicitly state the back-off requirement. However, since they're all the same, do you think that's a general recommendation? If so, do you think we should change RetryParams.defaultInstance() instead?
- I've also increased the total retry period to 80000, since 1 + 2 + 4 + 8 + 16 + 32 = 63 seconds, which is greater than the 50 default
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Changes Unknown when pulling 982b808 on ajkannan:sla-specific-retry into * on GoogleCloudPlatform:master*.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
However, since they're all the same, do you think that's a general recommendation?
I can't be sure of this but given that all params look the same I would tend to avoid replicating them in all services. Also this new retry params should work also for other services.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Took into account feedback; ready for another pass.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Changes Unknown when pulling 07e467c on ajkannan:sla-specific-retry into * on GoogleCloudPlatform:master*.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
private final double retryDelayBackoffFactor;
|
|
|
private final long totalRetryPeriodMillis;
|
|
|
|
|
|
// Some services may have different backoff requirements listed in their SLAs. Be sure to override
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
LGTM. Feel free to merge after considering the Javadoc suggestions.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Changes Unknown when pulling 3ba911a on ajkannan:sla-specific-retry into * on GoogleCloudPlatform:master*.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
meltsufin
pushed a commit
that referenced
this pull request
Dec 22, 2025
… (#860)
Source-Link: googleapis/synthtool@53a58c2
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:3c950ed12391ebaffd1ee66d0374766a1c50144ebe6a7a0042300b2e6bb5856b
chingor13
pushed a commit
that referenced
this pull request
Jan 6, 2026
Source-Link: googleapis/synthtool@f58d313
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 11, 2026
suztomo
pushed a commit
that referenced
this pull request
Mar 30, 2026
Fixes a NullPointerException when creating a Path object with a bucket
that doesn't exist. This only occurred when autoDetectRequesterPays = true.
Refs: #857
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-storage-nio/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
Fixes #857☕️
If you write sample code, please follow the [samples format](
https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md).
lqiu96
pushed a commit
that referenced
this pull request
Apr 1, 2026
Fixes a NullPointerException when creating a Path object with a bucket
that doesn't exist. This only occurred when autoDetectRequesterPays = true.
Refs: #857
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-storage-nio/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
Fixes #857☕️
If you write sample code, please follow the [samples format](
https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md).
benjaminp
pushed a commit
to benjaminp/google-cloud-java
that referenced
this pull request
Jul 13, 2026
This PR was generated using Autosynth. 🌈
<details><summary>Log from Synthtool</summary>
```
2021-06-04 16:44:11,494 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-bigtable/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-06-04 16:44:13,016 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/23d7657a-d55a-4f71-9335-90967eef596a/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|