mirror of https://github.com/grpc/grpc-java.git
Previously, AutoConfiguredLoadBalancer was also handling it, but it doesn't trigger retries. By returning true for canHandleEmptyAddressListFromNameResolution(), AutoConfiguredLoadBalancer effectively by-passed the empty-result handling logic in ManagedChannelImpl, thus resolution retries were never triggered. This change requires AutoConfiguredLoadBalancer to stop being a LoadBalancer, for its tryHandleResolvedAddresses(). It doesn't cause any trouble because AutoConfiguredLoadBalancer has become less and less like a LoadBalancer during the service config changes. |
||
|---|---|---|
| .. | ||
| src | ||
| BUILD.bazel | ||
| build.gradle | ||