Skip to content

Revert "chore: cleanup grpchijacked connections" - #6603

Merged
jedevc merged 1 commit into
dagger:mainfrom
jedevc:revert-close-grpchijack
Feb 6, 2024
Merged

jedevc merged 1 commit into
dagger:mainfrom
jedevc:revert-close-grpchijack

Conversation

@jedevc

@jedevc jedevc commented Feb 6, 2024

Copy link
Copy Markdown
Contributor

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.

@jedevc
jedevc requested a review from sipsma February 6, 2024 18:35
This reverts commit 618eb97.

Signed-off-by: Justin Chadwell <[email protected]>
@jedevc
jedevc force-pushed the revert-close-grpchijack branch from c47336f to 35fb170 Compare February 6, 2024 18:35

@sipsma sipsma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@jedevc
jedevc merged commit 1f117f7 into dagger:main Feb 6, 2024
@jedevc
jedevc deleted the revert-close-grpchijack branch February 6, 2024 18:50
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