balancer: stop using picker from old balancer with switching balancers (#2833)

This commit is contained in:
Menghan Li
2019-05-29 10:35:14 -07:00
committed by GitHub
parent b3e4b49ddb
commit 0435a4bb26

View File

@ -151,6 +151,7 @@ func (ccb *ccBalancerWrapper) watcher() {
for acbw := range scs {
ccb.cc.removeAddrConn(acbw.getAddrConn(), errConnDrain)
}
ccb.UpdateBalancerState(connectivity.Connecting, nil)
return
default:
}