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

Use acceptResolvedAddresses() in easy cases #11915

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented Feb 20, 2025

We want to move away from handleResolvedAddresses(). These are "easy" in that they need no logic. LBs extending ForwardingLoadBalancer had the method duplicated from handleResolvedAddresses() and swapped away from super because ForwardingLoadBalancer only forwards handleResolvedAddresses() reliably today. Duplicating small methods was less bug-prone than dealing with ForwardingLoadBalancer.

CC @SreeramdasLavanya

We want to move away from handleResolvedAddresses(). These are "easy" in
that they need no logic. LBs extending ForwardingLoadBalancer had the
method duplicated from handleResolvedAddresses() and swapped away from
`super` because ForwardingLoadBalancer only forwards
handleResolvedAddresses() reliably today. Duplicating small methods was
less bug-prone than dealing with ForwardingLoadBalancer.
@ejona86 ejona86 requested a review from larry-safran February 20, 2025 23:54
@ejona86 ejona86 merged commit 57124d6 into grpc:master Feb 21, 2025
14 of 16 checks passed
@ejona86 ejona86 deleted the acceptresolvedaddresses-easy branch February 21, 2025 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants