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

client: include name resolution error in RPC errors #2831

Closed
wants to merge 1 commit into from

Conversation

menghanl
Copy link
Contributor

@menghanl menghanl commented May 23, 2019

Similar to last connection error.

DNS resolver reports error only when lookupHost() fails.

Note that this PR doesn't make non-WaitForReady RPCs failfast, and they will still fail after timeout.

#2102

[resolver_error] in dns, report error when lookupHost() fails

[resolver_error] (s)
@menghanl
Copy link
Contributor Author

menghanl commented Jun 6, 2019

This change gets complicated with service config. (What to do if we get an error fetching addresses, but get service config? Do we apply the service config or also drop it?). We may end up needing more than just one err fields.

The error handling logic needs more discussion, we will send an update when there's a conclusion.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 3, 2019
@menghanl menghanl deleted the resolver_error branch June 21, 2021 21:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants