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

retry: re-enable retrying on non-IO transport errors #3691

Merged
merged 2 commits into from
Jun 16, 2020

Conversation

dfawley
Copy link
Member

@dfawley dfawley commented Jun 12, 2020

This changes fixes a bad assumption made about NewStream, and tags PerRPCCreds errors in order to not retry on those errors but retry on others.

Must be cherry-picked into the 1.30 release branch before release.

Fixes #3686

} else {
unprocessed = true
}
if !ok && !cs.callInfo.failFast {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In what situation would we want to fail non-wait-for-ready RPC when there's no IO?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per the spec, we are only allowed 1 transparent retry for non-WFR RPCs. The idea being that they should be making progress at all times.

@dfawley dfawley merged commit 3b63c2b into grpc:master Jun 16, 2020
@dfawley dfawley deleted the retry_creds_take_two branch June 16, 2020 17:04
menghanl pushed a commit to menghanl/grpc-go that referenced this pull request Jun 16, 2020
menghanl added a commit that referenced this pull request Jun 16, 2020
Co-authored-by: Doug Fawley <dfawley@google.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky test: Test/GracefulClientOnGoAway
2 participants