From 2be8db9d421301f0510760f76d1536a7123a99f6 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Dec 2020 02:10:29 +0800 Subject: [PATCH] rpc/log: refactor invalid client version log --- src/rpc/src/rpcMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/src/rpcMain.c b/src/rpc/src/rpcMain.c index deaf30f42e..bdefecfba3 100644 --- a/src/rpc/src/rpcMain.c +++ b/src/rpc/src/rpcMain.c @@ -953,7 +953,7 @@ static SRpcConn *rpcProcessMsgHead(SRpcInfo *pRpc, SRecvInfo *pRecv, SRpcReqCont } if (rpcIsReq(pHead->msgType) && htonl(pHead->msgVer) != tsVersion >> 8) { - tDebug("%s sid:%d, invalid client version:%d", pRpc->label, sid, htonl(pHead->msgVer)); + tDebug("%s sid:%d, invalid client version:%x/%x %s", pRpc->label, sid, htonl(pHead->msgVer), tsVersion, taosMsg[pHead->msgType]); terrno = TSDB_CODE_RPC_INVALID_VERSION; return NULL; }