grpc-java/grpclb/src
ZHANG Dapeng 3abdb2859f
grpclb: cache requestConnection if no subchannel created
An issue was found during CBT RLS client testing: The RLS lb creates grplb child balancer, calls `grpclb.handleResolvedAddress()` then immediately calls `grpclb.requestConnection()`. The subchannel in `GrpclbState.currentPicker.pickList` contains only `GrpclbState.BUFFER_ENTRY` at the moment `grpclb.requestConnection()` is called, and therefore the `requestConnection()` is no-op, and RPC is hanging.
2020-09-16 16:48:22 -07:00
..
generated/main/grpc/io/grpc/lb/v1 Roll-forward of stub,compiler: generated stub extends Abstract{Async,Future,Blocking}Stub #6196 (#6458) 2019-11-25 09:41:16 -08:00
main grpclb: cache requestConnection if no subchannel created 2020-09-16 16:48:22 -07:00
test/java/io/grpc/grpclb grpclb,xds: fix code lint 2020-04-02 18:18:32 -07:00