grpc-java
grpc-java copied to clipboard
core: round_robin to use acceptResolvedAddresses()
Switching to new API to allow eventual deprecation of handleResolvedAddresses()
@ejona86 It does not check and fail on empty address lists because they are actually supported. You can see a test exercising this scenario here: https://github.com/grpc/grpc-java/blob/7665d3850b9c3063372beae2fda4a604379bce22/core/src/test/java/io/grpc/util/RoundRobinLoadBalancerTest.java#L243
I don't think it is actually supported. It reports TRANSIENT_FAILURE, but it looks like it will queue all RPCs. It will essentially just hang, which is no good.
I don't think it is actually supported. It reports TRANSIENT_FAILURE, but it looks like it will queue all RPCs. It will essentially just hang, which is no good.
Updated to check for empty addresses and I also fixed a test that was making wrong assumptions.