Skip to content

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
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.

3 participants