Skip to content

netty: Associate netty stream eagerly to avoid client hang (1.74.x backport) #12233

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

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented Jul 17, 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().

Backport of #12222

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 17, 2025 22:02
@ejona86 ejona86 merged commit 15c7573 into grpc:v1.74.x Jul 18, 2025
16 checks passed
@ejona86 ejona86 deleted the backport-goaway-while-headers-buffered-1.74 branch July 18, 2025 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants