We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4914ffc commit 2c93791Copy full SHA for 2c93791
core/src/main/java/io/grpc/internal/PickFirstLeafLoadBalancer.java
@@ -395,12 +395,8 @@ public void requestConnection() {
395
addressIndex.increment();
396
requestConnection();
397
break;
398
- case READY: // Shouldn't ever happen
399
- log.warning("Requesting a connection even though we have a READY subchannel");
400
- break;
401
- case SHUTDOWN:
402
default:
403
- // Makes checkstyle happy
+ // Wait for current subchannel to change state
404
}
405
406
0 commit comments