Skip to content
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

balancer/weightedroundrobin: fix ticker leak on update #6643

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

atollena
Copy link
Collaborator

@atollena atollena commented Sep 18, 2023

The code that regenerate the picker, called on every conn update, does creates ticker to update weights but does not properly close it. This causes resource leaks.

Fix this by properly stopping the ticker.

RELEASE NOTES: n/a

The code that regenerate the picker, called on every conn update, does creates ticker to update
weights but does not properly close it. This causes resource leaks.

Fix this by properly stopping the ticker.
@easwars easwars added this to the 1.59 Release milestone Sep 18, 2023
@easwars easwars changed the title balancer/weighted_round_robin: fix ticker leak on update balancer/weightedroundrobin: fix ticker leak on update Sep 18, 2023
@easwars easwars merged commit 1457a96 into grpc:master Sep 18, 2023
11 checks passed
ginayeh pushed a commit to ginayeh/grpc-go that referenced this pull request Sep 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants