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

auth: Treat IOExceptions as UNAVAILABLE #3757

Merged
merged 2 commits into from
Nov 17, 2017
Merged

auth: Treat IOExceptions as UNAVAILABLE #3757

merged 2 commits into from
Nov 17, 2017

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented Nov 16, 2017

Fixes #3267

Should we backport this to 1.8?

CC @buchgr

Copy link
Contributor

@zhangkun83 zhangkun83 left a comment

Choose a reason for hiding this comment

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

I don't see any risk of back-porting. It's a question about how bad we want it in 1.8.x.

metadata = creds.getRequestMetadata(uri);
} catch (IOException e) {
// Since it's an I/O failure, let the call be retried with UNAVAILABLE.
applier.fail(Status.UNAVAILABLE.withCause(e));
Copy link
Contributor

Choose a reason for hiding this comment

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

Please include a message

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, good point. Done.

@ejona86 ejona86 added the TODO:backport PR needs to be backported. Removed after backport complete label Nov 17, 2017
@ejona86 ejona86 merged commit b940af2 into grpc:master Nov 17, 2017
@ejona86 ejona86 deleted the auth branch November 17, 2017 16:29
@ejona86 ejona86 removed the TODO:backport PR needs to be backported. Removed after backport complete label Nov 17, 2017
@carl-mastrangelo carl-mastrangelo added this to the 1.9 milestone Nov 30, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
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.

3 participants