提交 0621a9e8 编写于 作者: dengyihao's avatar dengyihao

make jenkins happy

上级 92c455a0
...@@ -1533,13 +1533,14 @@ static void rpcProcessConnError(void *param, void *id) { ...@@ -1533,13 +1533,14 @@ static void rpcProcessConnError(void *param, void *id) {
rpcMsg.pCont = NULL; rpcMsg.pCont = NULL;
rpcMsg.contLen = 0; rpcMsg.contLen = 0;
if( pContext->numOfTry >= pContext->epSet.numOfEps && rpcMsg.code == TSDB_CODE_RPC_NETWORK_UNAVAIL) { if (pContext->numOfTry >= pContext->epSet.numOfEps && rpcMsg.code == TSDB_CODE_RPC_NETWORK_UNAVAIL) {
if(pContext->msgType == TSDB_MSG_TYPE_SUBMIT || pContext->msgType == TSDB_MSG_TYPE_QUERY) { if (pContext->msgType == TSDB_MSG_TYPE_SUBMIT || pContext->msgType == TSDB_MSG_TYPE_QUERY) {
rpcMsg.code = TSDB_CODE_RPC_VGROUP_NOT_CONNECTED; rpcMsg.code = TSDB_CODE_RPC_VGROUP_NOT_CONNECTED;
} }
} }
tWarn("%s %p, connection error. notify client query over. numOfTry=%d msgType=%d", pRpc->label, pContext->ahandle, pContext->numOfTry, pContext->msgType); tWarn("%s %p, connection error. notify client query over. numOfTry=%d msgType=%d", pRpc->label, pContext->ahandle,
pContext->numOfTry, pContext->msgType);
rpcNotifyClient(pContext, &rpcMsg); rpcNotifyClient(pContext, &rpcMsg);
} else { } else {
...@@ -1936,7 +1937,6 @@ bool rpcSaveSendInfo(int64_t rpcRid, void **ppContext) { ...@@ -1936,7 +1937,6 @@ bool rpcSaveSendInfo(int64_t rpcRid, void **ppContext) {
} }
if (ppContext) *ppContext = pContext; if (ppContext) *ppContext = pContext;
taosReleaseRef(tsRpcRefId, rpcRid); taosReleaseRef(tsRpcRefId, rpcRid);
return true; return true;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册