Skip to content

core:Have acceptResolvedAddresses() do a seek when in CONNECTING state and cleanup removed subchannels when a seek was successful#11849

Merged
larry-safran merged 2 commits intogrpc:masterfrom
larry-safran:gms_core
Jan 25, 2025
Merged

core:Have acceptResolvedAddresses() do a seek when in CONNECTING state and cleanup removed subchannels when a seek was successful#11849
larry-safran merged 2 commits intogrpc:masterfrom
larry-safran:gms_core

Conversation

@larry-safran
Copy link
Contributor

Also,
Move cleanup of removed subchannels into a method so it can be called from 2 places in acceptResolvedAddresses.
Since the seek could mean we never looked at the first address, if we go off the end of the index and haven't looked at the all of the addresses then instead of scheduleBackoff() we reset the index and request a connection.

… cleanup removed subchannels when a seek was successful.

Move cleanup of removed subchannels into a method so it can be called from 2 places in acceptResolvedAddresses.
Since the seek could mean we never looked at the first address, if we go off the end of the index and haven't looked at the all of the addresses then instead of scheduleBackoff() we reset the index and request a connection.
@larry-safran larry-safran requested a review from ejona86 January 23, 2025 02:26
@larry-safran larry-safran changed the title Have acceptResolvedAddresses() do a seek when in CONNECTING state and cleanup removed subchannels when a seek was successful core:Have acceptResolvedAddresses() do a seek when in CONNECTING state and cleanup removed subchannels when a seek was successful Jan 23, 2025
@larry-safran larry-safran merged commit 87aa6de into grpc:master Jan 25, 2025
8 checks passed
@larry-safran larry-safran deleted the gms_core branch January 25, 2025 00:43
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 25, 2025
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.

2 participants