Skip to content
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

Add SocketException and 'insufficient data written' to retryable exceptions #1187

Merged
merged 1 commit into from
Aug 23, 2016

Conversation

mziccard
Copy link
Contributor

This fixes #1180 and #1018

@mziccard mziccard added api: core api: storage Issues related to the Cloud Storage API. labels Aug 23, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 23, 2016
@coveralls
Copy link

Coverage Status

Coverage increased (+0.006%) to 85.849% when pulling 42a1571 on mziccard:storage-retry-exceptions into 8acf3c3 on GoogleCloudPlatform:master.

@mziccard
Copy link
Contributor Author

FYI @fonzy2013

@aozarov Do you mind having a look? This also retries the 'insufficient data written' exception, more background can be found at #1018

return idempotent && exception instanceof SocketTimeoutException;
boolean exceptionIsRetryable = exception instanceof SocketTimeoutException
|| exception instanceof SocketException
|| "insufficient data written".equals(exception.getMessage());

This comment was marked as spam.

This comment was marked as spam.

@aozarov
Copy link
Contributor

aozarov commented Aug 23, 2016

LGTM

@mziccard mziccard merged commit f9bbbd4 into googleapis:master Aug 23, 2016
@fondberg
Copy link

@mziccard which release should I use for this fix? 0.2.8 or 0.29-SNAPSHOT?

@mziccard
Copy link
Contributor Author

@fonzy2013 I wrote you here on Friday (its seems notification got lost :(): 0.2.8 contains this fix. For more details on the changes contained in 0.2.8 have a look at our release notes

github-actions bot pushed a commit that referenced this pull request Jul 18, 2022
…-info-reports-plugin to v3.4.0 (#1187)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) | `3.3.0` -> `3.4.0` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.0/compatibility-slim/3.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.0/confidence-slim/3.3.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-automl).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMTcuNCIsInVwZGF0ZWRJblZlciI6IjMyLjExNy40In0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: core api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Storage - SocketException Socket closed
5 participants