xds: Implement proactive connection in RingHashLoadBalancer per gRFC A61 by becomeStar · Pull Request #12596 · grpc/grpc-java (original) (raw)
added 3 commits
Implement proactive connection logic in RingHashLoadBalancer as outlined in gRFC A61. This address the missing logic where the balancer should initialize the first IDLE child when a child balancer reports TRANSIENT_FAILURE and no other children are connecting.
This behavior, which was previously present before grpc#10610, ensures that a backup subchannel starts connecting immediately outside of the picker flow, reducing failover latency.
Fixes grpc#12024
Update existing unit tests and add new test cases to validate the proactive connection behavior. Verification counts in several tests have been adjusted to reflect that the balancer now initiates connections immediately upon subchannel failure.
ejona86 added the kokoro:run
Add this label to a PR to tell Kokoro the code is safe and tests can be run
label
grpc-kokoro removed the kokoro:run
Add this label to a PR to tell Kokoro the code is safe and tests can be run
label
github-actions Bot locked as resolved and limited conversation to collaborators
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
[ Show hidden characters]({{ revealButtonHref }})