From 81e18377411e6a4a00d38f85145907d4969e4ca3 Mon Sep 17 00:00:00 2001 From: santong <244372610@qq.com> Date: Tue, 31 Aug 2021 17:40:13 +0800 Subject: [PATCH] feat: framework log Signed-off-by: santong <244372610@qq.com> --- pkg/rpc/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rpc/client.go b/pkg/rpc/client.go index 729cb502506..bdf2bbbd318 100644 --- a/pkg/rpc/client.go +++ b/pkg/rpc/client.go @@ -325,7 +325,7 @@ func (conn *Connection) loadOrCreateClientConnByNode(node string) (clientConn *g // stick whether hash key need already associated with specify node func (conn *Connection) GetClientConn(hashKey string, stick bool) (*grpc.ClientConn, error) { logger.With("conn", conn.name).Debugf("start to get client conn hashKey %s, stick %t", hashKey, stick) - defer logger.With("conn", conn.name).Debugf("get client conn hashKey %s, stick %t end", hashKey, stick) + defer logger.With("conn", conn.name).Debugf("get client conn done, hashKey %s, stick %t end", hashKey, stick) conn.rwMutex.RLock() node, ok := conn.key2NodeMap.Load(hashKey) if stick && !ok {