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: prevent per-RPC creds error from being transparently retried #3677

Merged
merged 1 commit into from
Jun 11, 2020

Conversation

dfawley
Copy link
Member

@dfawley dfawley commented Jun 10, 2020

The only time ClientTransport.NewStream returns an error is when the PerRPCCredentials error. So, this makes it so that no NewStream error is retried transparently.

Fixes #3606

@dfawley dfawley added this to the 1.30 Release milestone Jun 10, 2020
@dfawley dfawley requested a review from menghanl June 10, 2020 22:08
@dfawley dfawley closed this Jun 10, 2020
@dfawley dfawley reopened this Jun 10, 2020
@dfawley dfawley changed the title retry: prevent per-RPC creds error from being retried retry: prevent per-RPC creds error from being transparently retried Jun 11, 2020
@dfawley dfawley merged commit eb11ffd into grpc:master Jun 11, 2020
@dfawley dfawley deleted the retry_creds branch June 11, 2020 16:18
dfawley added a commit to dfawley/grpc-go that referenced this pull request Jun 12, 2020
@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.

PerRPCCredentials errors should commit RPCs (i.e. not allow retry)
2 participants