grpclb: re-resolve when the stream to GRPCLB balancer fails (#2502)
This commit is contained in:
@ -245,6 +245,8 @@ func (lb *lbBalancer) watchRemoteBalancer() {
|
||||
}
|
||||
}
|
||||
}
|
||||
// Trigger a re-resolve when the stream errors.
|
||||
lb.cc.cc.ResolveNow(resolver.ResolveNowOption{})
|
||||
|
||||
if !doBackoff {
|
||||
retryCount = 0
|
||||
|
Reference in New Issue
Block a user