add debug log

This commit is contained in:
Liu Jicong 2023-02-02 13:34:11 +08:00
parent e13499b542
commit 924e5bfe6c
1 changed files with 3 additions and 0 deletions

View File

@ -312,10 +312,13 @@ int32_t vnodeProcessWriteMsg(SVnode *pVnode, SRpcMsg *pMsg, int64_t version, SRp
walApplyVer(pVnode->pWal, version); walApplyVer(pVnode->pWal, version);
vInfo("vgId:%d, push msg begin", pVnode->config.vgId);
if (tqPushMsg(pVnode->pTq, pMsg->pCont, pMsg->contLen, pMsg->msgType, version) < 0) { if (tqPushMsg(pVnode->pTq, pMsg->pCont, pMsg->contLen, pMsg->msgType, version) < 0) {
vError("vgId:%d, failed to push msg to TQ since %s", TD_VID(pVnode), tstrerror(terrno)); vError("vgId:%d, failed to push msg to TQ since %s", TD_VID(pVnode), tstrerror(terrno));
vInfo("vgId:%d, push msg end", pVnode->config.vgId);
return -1; return -1;
} }
vInfo("vgId:%d, push msg end", pVnode->config.vgId);
// commit if need // commit if need
if (needCommit) { if (needCommit) {