GeezerVison is showing github.com — RetryHelper can be configured to not retry on socket timeouts. by mderka · Pull Request #882 · googleapis/google-cloud-java
Conversation
I added a parameter in the retry helper method which indicates whether retries should be attempted on timeouts. The default value is true.
I considered adding this to retryParams, but I concluded that this is related to the nature of the operation where the retry helper is being used and not to the the configuration itself. Therefore, I chose this solution using an extra parameter.
I adjusted DNS accordingly. Other services can follow.
This fixes #816 and #808.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Coverage increased (+0.001%) to 85.599% when pulling d976ed4 on mderka:retryhelper into 1eb3522 on GoogleCloudPlatform:master.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
import org.junit.Before;
|
|
|
import org.junit.Test;
|
|
|
|
|
|
import java.net.SocketTimeoutException;
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
PTAL. I squashed the commit.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Coverage increased (+0.001%) to 85.599% when pulling 0bdf0ed on mderka:retryhelper into 1eb3522 on GoogleCloudPlatform:master.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Coverage increased (+0.01%) to 85.609% when pulling 03e1eaf on mderka:retryhelper into 1eb3522 on GoogleCloudPlatform:master.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@aozarov is suggesting a different solution. Please, put reviewing this one on hold @mziccard.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
We should not go this route. RetryHandler should not special case for any exception (other what it already does for dealing with thread interruptions). This should be done via the configurable exception handler. see #883
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chingor13
pushed a commit
that referenced
this pull request
Feb 24, 2026
* chore: fix license header in build.bat
* chore: add disctribution field for setup-java action
Source-Link: googleapis/synthtool@4fea5f4
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:df8d7b2cc0dbc65871e7edd86601901a0612b272fa3f7f0eb590c5c53aa5f92e
chingor13
pushed a commit
that referenced
this pull request
Mar 12, 2026
* chore: fix license header in build.bat
* chore: add disctribution field for setup-java action
Source-Link: googleapis/synthtool@4fea5f4
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:df8d7b2cc0dbc65871e7edd86601901a0612b272fa3f7f0eb590c5c53aa5f92e
suztomo
pushed a commit
that referenced
this pull request
Mar 30, 2026
…) (#882)
* chore: Enable Size-Label bot in all googleapis Java repositories
Auto-label T-shirt size indicator should be assigned on every new pull request in all googleapis Java repositories
* Remove product
Remove product since it is by default true
* add license header
Co-authored-by: Neenu Shaji <[email protected]>
Source-Link: googleapis/synthtool@54b2c6a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Neenu Shaji <[email protected]>
lqiu96
pushed a commit
that referenced
this pull request
Apr 1, 2026
…) (#882)
* chore: Enable Size-Label bot in all googleapis Java repositories
Auto-label T-shirt size indicator should be assigned on every new pull request in all googleapis Java repositories
* Remove product
Remove product since it is by default true
* add license header
Co-authored-by: Neenu Shaji <[email protected]>
Source-Link: googleapis/synthtool@54b2c6a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Neenu Shaji <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
api: dns
Issues related to the Cloud DNS API.
cla: yes
This human has signed the Contributor License Agreement.
do not merge
Indicates a pull request not ready for merge, due to either quality or timing.
Milestone
No milestone
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.
|