Skip to content

Commit 59ca63b

Browse files
committed
balancer: stop using picker from old balancer with switching balancers
1 parent 25ad15b commit 59ca63b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: balancer_conn_wrappers.go

+1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ func (ccb *ccBalancerWrapper) watcher() {
151151
for acbw := range scs {
152152
ccb.cc.removeAddrConn(acbw.getAddrConn(), errConnDrain)
153153
}
154+
ccb.UpdateBalancerState(connectivity.TransientFailure, nil)
154155
return
155156
default:
156157
}

0 commit comments

Comments
 (0)