Skip to content

Commit f22dd7b

Browse files
committed
xds: Update javadoc for ringHash proactive connection logic
1 parent 7d4a961 commit f22dd7b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

xds/src/main/java/io/grpc/xds/RingHashLoadBalancer.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ protected void updateOverallBalancingState() {
225225
}
226226

227227
/**
228-
* Triggers lazy initialization of an IDLE child pickFirst load balancer when:
228+
* Triggers proactive connection of an IDLE child load balancer when the following conditions are
229+
* met.
229230
*
230231
* <ul>
231232
* <li>there is no READY child
@@ -234,9 +235,9 @@ protected void updateOverallBalancingState() {
234235
* <li>there exists at least one IDLE child
235236
* </ul>
236237
*
237-
* <p>This corresponds to the second lazy-initialization condition described in gRFC A61, where
238-
* recovery from TRANSIENT_FAILURE must be triggered outside the picker when no active connection
239-
* attempt is in progress.
238+
* <p>This corresponds to the proactive connection logic described in gRFC A61, where recovery
239+
* from TRANSIENT_FAILURE must be triggered outside the picker when no active connection attempt
240+
* is in progress.
240241
*/
241242
private void maybeTriggerIdleChildConnection(
242243
int numReady, int numTF, int numConnecting, int numIdle) {

0 commit comments

Comments
 (0)