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

fix(storage): retry net.OpError on connection reset #10154

Merged
merged 1 commit into from
May 13, 2024

Conversation

tritone
Copy link
Contributor

@tritone tritone commented May 11, 2024

We are seeing these errors surfaced via net.OpError as well as url.Error. Update the ShouldRetry function accordingly.

Also, use net.ErrClosed sentinel over string matching.

Fixes #9478

We are seeing these errors surfaced via net.OpError as well as
url.Error. Update the ShouldRetry function accordingly.

Also, use net.ErrClosed sentinel over string matching.

Fixes googleapis#9478
@tritone tritone requested review from a team as code owners May 11, 2024 04:23
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label May 11, 2024
@tritone tritone merged commit 54fab10 into googleapis:main May 13, 2024
8 checks passed
@tritone tritone deleted the operror-retry branch May 13, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

storage: Why "ECONNRESET on read" is not transient error
2 participants