-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Long running streams fail #7641
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
Comments
After using git bisect on the range from tag Command: # Run 10 times in parallel for higher confidence
seq 1 10 | xargs -n1 -P10 -I{} go test ./test/stream/ -run TestLongRunningStream -count 1 -v || echo "A test failed" I then verified that the test flakes on 9ab8b62 and passed 30/30 times on the commit immediately before it. |
I have been seeing the same problems as well since upgrade to 1.66 and beyond. the error I got was control flow error, saying received data exceeding limit. The received data is around 4GB according to the logs. |
It seems like the I think I found the bug. The headers are being read incrementally here: grpc-go/internal/transport/transport.go Lines 559 to 579 in 8ea3460
We keep filling the underlying grpc-go/internal/transport/transport.go Lines 622 to 630 in 8ea3460
The code has read |
The fix has been merged in #7660, keeping the issue open to track the cherrypick into release branches. |
The fix is part of the latest release: https://github.com/grpc/grpc-go/releases/tag/v1.67.1 Closing the issue now. |
This release fixes a bug with long running streams: grpc/grpc-go#7641. This could relate to the mysterious RST_STREAM errors seen in https://gitlab.com/gitlab-org/gitaly/-/issues/6385.
Uh oh!
There was an error while loading. Please reload this page.
What version of gRPC are you using?
1.66.2
But seen on all versions of 1.66.x so far. Issue did not occur on 1.65
What version of Go are you using (
go version
)?N/A
What operating system (Linux, Windows, …) and version?
N/A
What did you do?
Long running stream fails with an error. Test case in #7642.
What did you expect to see?
Stream completing successfully:
What did you see instead?
Errors vary between the 2 below:
and
The text was updated successfully, but these errors were encountered: