提交 f1384206 编写于 作者: H Haojun Liao

refactor: do some internal refactor.

上级 9f64e6dc
...@@ -1086,12 +1086,12 @@ int32_t mndTransProcessRsp(SRpcMsg *pRsp) { ...@@ -1086,12 +1086,12 @@ int32_t mndTransProcessRsp(SRpcMsg *pRsp) {
goto _OVER; goto _OVER;
} }
pTrans->lastErrorNo = pRsp->code;
STransAction *pAction = taosArrayGet(pArray, action); STransAction *pAction = taosArrayGet(pArray, action);
if (pAction != NULL) { if (pAction != NULL) {
pAction->msgReceived = 1; pAction->msgReceived = 1;
pAction->errCode = pRsp->code; pAction->errCode = pRsp->code;
pTrans->lastErrorNo = pRsp->code;
mInfo("trans:%d, %s:%d response is received, code:0x%x, accept:0x%x retry:0x%x", transId, mInfo("trans:%d, %s:%d response is received, code:0x%x, accept:0x%x retry:0x%x", transId,
mndTransStr(pAction->stage), action, pRsp->code, pAction->acceptableCode, pAction->retryCode); mndTransStr(pAction->stage), action, pRsp->code, pAction->acceptableCode, pAction->retryCode);
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册