Skip to content

allocator: handle unlikely goroutine leak#44589

Merged
fristonio merged 1 commit intomainfrom
pr/asauber/fix-allocator-goroutine-leak
Mar 9, 2026
Merged

allocator: handle unlikely goroutine leak#44589
fristonio merged 1 commit intomainfrom
pr/asauber/fix-allocator-goroutine-leak

Conversation

@asauber
Copy link
Copy Markdown
Member

@asauber asauber commented Mar 2, 2026

In the unlikely case that the allocator is stopped before the initial list is complete, don't leak the initial goroutine. This happens occasionaly when running on resource-constrained systems and is detected by goleak.

In the unlikely case that the allocator is stopped before the initial
list is complete, don't leak the initial goroutine.

This happens occasionaly in CI and is detected by goleak.

Signed-off-by: Andrew Sauber <andrew.sauber@isovalent.com>
@asauber asauber added the release-note/ci This PR makes changes to the CI. label Mar 2, 2026
@asauber asauber requested a review from a team as a code owner March 2, 2026 07:48
@asauber asauber requested a review from fristonio March 2, 2026 07:48
@asauber
Copy link
Copy Markdown
Member Author

asauber commented Mar 2, 2026

/test

@asauber
Copy link
Copy Markdown
Member Author

asauber commented Mar 9, 2026

@fristonio gentle ping

Copy link
Copy Markdown
Member

@fristonio fristonio left a comment

Choose a reason for hiding this comment

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

Looks good. Sorry for the delay.

@fristonio fristonio added this pull request to the merge queue Mar 9, 2026
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Mar 9, 2026
Merged via the queue into main with commit 99f08c5 Mar 9, 2026
755 of 771 checks passed
@fristonio fristonio deleted the pr/asauber/fix-allocator-goroutine-leak branch March 9, 2026 02:22
@giorio94 giorio94 added the needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch label Mar 16, 2026
@smagnani96 smagnani96 mentioned this pull request Mar 16, 2026
10 tasks
@smagnani96 smagnani96 added backport-pending/1.19 The backport for Cilium 1.19.x for this PR is in progress. and removed needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch labels Mar 16, 2026
@github-actions github-actions bot added backport-done/1.19 The backport for Cilium 1.19.x for this PR is done. and removed backport-pending/1.19 The backport for Cilium 1.19.x for this PR is in progress. labels Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-done/1.19 The backport for Cilium 1.19.x for this PR is done. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants