Skip to content

netty: Associate netty stream eagerly to avoid client hang #12222

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

Merged
merged 1 commit into from
Jul 17, 2025

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented Jul 15, 2025

In #12185, RPCs were randomly hanging. In #12207 this was tracked down to the headers promise completing successfully, but the netty stream was null. This was because the headers write hadn't completed but stream.close() had been called by goingAway().

In grpc#12185, RPCs were randomly hanging. In grpc#12207 this was tracked down
to the headers promise completing successfully, but the netty stream
was null. This was because the headers write hadn't completed but
stream.close() had been called by goingAway().
@ejona86 ejona86 requested a review from kannanjgithub July 15, 2025 22:08
@ejona86 ejona86 added the TODO:backport PR needs to be backported. Removed after backport complete label Jul 15, 2025
@ejona86
Copy link
Member Author

ejona86 commented Jul 15, 2025

CC @werkt

@ejona86 ejona86 merged commit 2e96fbf into grpc:master Jul 17, 2025
16 checks passed
@ejona86 ejona86 deleted the goaway-while-headers-buffered branch July 17, 2025 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TODO:backport PR needs to be backported. Removed after backport complete
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants