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

util: Remove shutdown subchannels from OD tracking #10683

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

temawi
Copy link
Contributor

@temawi temawi commented Nov 17, 2023

An OutlierDetectionLoadBalancer child load balancer might decided to shut down any subchannel it is tracking. We need to make sure that those subchannels are removed from the outlier detection tracker map to avoid a memory leak.

Fixes: #10672

An OutlierDetectionLoadBalancer child load balancer might decided to
shut down any subchannel it is tracking. We need to make sure that those
subchannels are removed from the outlier detection tracker map to avoid
a memory leak.
@temawi temawi merged commit da4618a into grpc:master Nov 17, 2023
13 of 14 checks passed
@temawi temawi deleted the rm-shutdown-subchannels branch November 17, 2023 23:04
temawi added a commit to temawi/grpc-java that referenced this pull request Nov 17, 2023
An OutlierDetectionLoadBalancer child load balancer might decided to
shut down any subchannel it is tracking. We need to make sure that those
subchannels are removed from the outlier detection tracker map to avoid
a memory leak.
@ejona86 ejona86 added the TODO:backport PR needs to be backported. Removed after backport complete label Nov 20, 2023
ejona86 pushed a commit that referenced this pull request Nov 20, 2023
An OutlierDetectionLoadBalancer child load balancer might decided to
shut down any subchannel it is tracking. We need to make sure that those
subchannels are removed from the outlier detection tracker map to avoid
a memory leak.
@ejona86 ejona86 removed the TODO:backport PR needs to be backported. Removed after backport complete label Nov 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OutlierDetection can leak subchannels in AddressTracker
2 participants