Repository navigation
core: Enable Happy Eyeballs in pick_first by default - #13201
Merged
Merged
Conversation
Change the default of GRPC_PF_USE_HAPPY_EYEBALLS to true. It can still be disabled by setting the flag to false. Test fixes needed with the new default: - RingHashLoadBalancerTest: the expected requestConnection() counts assumed Happy Eyeballs causes a second call on the subchannel. With the new pick_first and a single address only one call happens; the count depends only on whether the new pick_first is enabled. - ClusterImplLoadBalancerTest: FakeLbHelper now provides a ScheduledExecutorService, which pick_first needs to schedule the Happy Eyeballs connection delay. - RandomSubsettingLoadBalancerTest: the mock Helper now provides a SynchronizationContext and ScheduledExecutorService, which the pick_first children of round_robin need to schedule the Happy Eyeballs connection delay. - Rescheduler.isEnabled() (test-only) returns false for tasks that are not Rescheduler tasks, so ManagedChannelImplIdlenessTest's teardown check tolerates the pending Happy Eyeballs timer from the OOB channel. TAG=agy CONV=f4f988f1-e662-4825-a7ab-ac601c12d0d5 CONV=2b34d6af-c0df-46b4-8326-2dea3641f8cc
kannanjgithub
force-pushed
the
enable-happy-eyeballs
branch
from
November 23, 2026 07:32
e612f3b to
b14d3fe
Compare
AgraVator
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change the default of GRPC_PF_USE_HAPPY_EYEBALLS to true.