From 4bbe223b12805ab25acbb9d2cadfab2ec9d04bb6 Mon Sep 17 00:00:00 2001 From: Menghan Li Date: Tue, 5 Sep 2017 11:07:52 -0700 Subject: [PATCH] remove a debug print that causes deadlock (#1505) --- balancer_v1_wrapper.go | 1 - 1 file changed, 1 deletion(-) diff --git a/balancer_v1_wrapper.go b/balancer_v1_wrapper.go index bac7afa2..b6002b73 100644 --- a/balancer_v1_wrapper.go +++ b/balancer_v1_wrapper.go @@ -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 {