Repository navigation
Revert "chore: cleanup grpchijacked connections" - #6603
Merged
Merged
Conversation
This reverts commit 618eb97. Signed-off-by: Justin Chadwell <[email protected]>
jedevc
force-pushed
the
revert-close-grpchijack
branch
from
February 6, 2024 18:35
c47336f to
35fb170
Compare
sipsma
approved these changes
Feb 6, 2024
sipsma
left a comment
Contributor
There was a problem hiding this comment.
See #6597 (comment).
Crap, yeah I'm guessing there might be some race condition somewhere in the underlying grpc stream handling. That Close does try to actually flush the stream and various things as opposed to just closing/killing, so plenty of places where something could be going wrong: https://github.com/sipsma/buildkit/blob/89bbb62a1e295391fd55fccc1f86f479de064de1/session/grpchijack/dial.go#L94-L94
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reverts #6597.
See #6597 (comment). I don't have the bandwidth to investigate this properly, and the leaking threads (while annoying, at least doesn't break every test run).
If we merge this, I'll open an issue and pick it up later.