remove a debug print that causes deadlock (#1505)

This commit is contained in:
Menghan Li
2017-09-05 11:07:52 -07:00
committed by dfawley
parent 91999f444f
commit 4bbe223b12

View File

@ -226,7 +226,6 @@ func (bw *balancerWrapper) HandleSubConnStateChange(sc balancer.SubConn, s conne
}
oldS := scSt.s
scSt.s = s
grpclog.Infof("balancerWrapper: handle state change addr: %v, old state: %v, new state: %v", sc.(*acBalancerWrapper).getAddrConn().addrs, oldS, s)
if oldS != connectivity.Ready && s == connectivity.Ready {
scSt.down = bw.balancer.Up(scSt.addr)
} else if oldS == connectivity.Ready && s != connectivity.Ready {