0547980095
The parent ClientConn should re-resolve when grpclb loses connection to the remote balancer. When the ClientConn inside grpclb gets a TransientFailure, it calls lbManualResolver.ResolveNow(), which calls parent ClientConn's ResolveNow, and eventually results in re-resolve happening in parent ClientConn's resolver (DNS for example). This PR adds a method to balancer.ClientConn interface, so balancer can tell parent ClientConn to re-resolve. |
||
---|---|---|
.. | ||
base | ||
roundrobin | ||
balancer.go |