Skip to content

util: Remove shutdown subchannels from OD tracking#10683

Merged
temawi merged 2 commits intogrpc:masterfrom
temawi:rm-shutdown-subchannels
Nov 17, 2023
Merged

util: Remove shutdown subchannels from OD tracking#10683
temawi merged 2 commits intogrpc:masterfrom
temawi:rm-shutdown-subchannels

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 force-pushed the rm-shutdown-subchannels branch from f004daa to 04bcfe8 Compare November 17, 2023 21:47
@temawi temawi requested a review from ejona86 November 17, 2023 21:48
@temawi temawi merged commit da4618a into grpc:master Nov 17, 2023
@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