Skip to content

[release/0.8] Remove blocking wait on container exit for every exec created#1605

Merged
kiashok merged 2 commits intomicrosoft:release/0.8from
kiashok:memLeakFixPort-release0.8
Dec 14, 2022
Merged

[release/0.8] Remove blocking wait on container exit for every exec created#1605
kiashok merged 2 commits intomicrosoft:release/0.8from
kiashok:memLeakFixPort-release0.8

Conversation

@kiashok
Copy link
Copy Markdown
Contributor

@kiashok kiashok commented Dec 13, 2022

This PR ports commit 5fc00c5 to release/0.8 branch
It also fixes CI to use the same version of golang and updated golangci-lint version to v1.48

Commit fixes the memory leak seen in the shim.
It removes creation of channel that waits on container exit for every new exec. Instead, the container wait channel is exposed through WaitChannel() function which callers can use to decide if container has exited or not.

Signed-off-by: Kirtana Ashok [email protected]
(cherry picked from commit 5fc00c5)

@kiashok kiashok requested a review from a team as a code owner December 13, 2022 20:01
Commit fixes the memory leak seen in the shim.
It removes creation of channel that waits on container exit
for every new exec. Instead, the container wait channel is exposed
through WaitChannel() function which callers can use to decide
if container has exited or not.

Signed-off-by: Kirtana Ashok <[email protected]>
(cherry picked from commit 5fc00c5)
Signed-off-by: Kirtana Ashok <[email protected]>
@kiashok kiashok force-pushed the memLeakFixPort-release0.8 branch from 1743480 to 247cca5 Compare December 13, 2022 20:10
Signed-off-by: Kirtana Ashok <[email protected]>
@kiashok kiashok force-pushed the memLeakFixPort-release0.8 branch from bda1cbf to 1b1793e Compare December 14, 2022 00:52
@kiashok kiashok merged commit 619117b into microsoft:release/0.8 Dec 14, 2022
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.

3 participants