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

Provide more specific errors messages for failing channels #984

Merged
merged 1 commit into from
Oct 5, 2020

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Oct 5, 2020

Motivation:

If a connection attempt fails, the reason for the failure should be
propagated to the RPCs.

Modifications:

  • Store errors in the active and ready states so that they can be used
    as contextual information when requesting a channel from the transient
    failure or shutdown states

Result:

  • Connection level errors get propagated to RPCs made on that same
    Channel

Motivation:

If a connection attempt fails, the reason for the failure should be
propagated to the RPCs.

Modifications:

- Store errors in the active and ready states so that they can be used
  as contextual information when requesting a channel from the transient
  failure or shutdown states

Result:

- Connection level errors get propagated to RPCs made on that same
  Channel
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Oct 5, 2020
@glbrntt glbrntt requested a review from Lukasa October 5, 2020 09:24
@glbrntt
Copy link
Collaborator Author

glbrntt commented Oct 5, 2020

Hmmm the Travis CI run passed, not sure why it isn't listed here though.

@glbrntt glbrntt merged commit 7aac780 into grpc:main Oct 5, 2020
@glbrntt glbrntt deleted the gb-more-obvious-ssl-errors branch October 5, 2020 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants