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

netty: Differentiate GOAWAY closure status descriptions #7502

Merged
merged 1 commit into from Oct 29, 2020

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented Oct 9, 2020

With this, it will be clear if the RPC failed because the server didn't
use a double-GOAWAY or if it failed because of MAX_CONCURRENT_STREAMS or
if it was due to a local race. It also fixes the status code to be
UNAVAILABLE except for the RPCs included in the GOAWAY error (modulo the
Netty bug).

Fixes #5855


This depends on #7501

@ejona86
Copy link
Member Author

ejona86 commented Oct 27, 2020

@dapengzhang0, ping

Copy link
Member

@dapengzhang0 dapengzhang0 left a comment

Choose a reason for hiding this comment

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

LGTM

With this, it will be clear if the RPC failed because the server didn't
use a double-GOAWAY or if it failed because of MAX_CONCURRENT_STREAMS or
if it was due to a local race. It also fixes the status code to be
UNAVAILABLE except for the RPCs included in the GOAWAY error (modulo the
Netty bug).

Fixes grpc#5855
@ejona86 ejona86 merged commit 735b85f into grpc:master Oct 29, 2020
@ejona86 ejona86 deleted the netty-differentiate-goaways branch October 29, 2020 16:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 5, 2021
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.

UNAVAILABLE: HTTP/2 error code: NO_ERROR Received Goawaysession_timed_out
2 participants