This commit is contained in:
dmchen 2023-11-02 05:42:17 +00:00
parent 41749b7c52
commit 88da6e0879
1 changed files with 2 additions and 0 deletions

View File

@ -1116,6 +1116,7 @@ static int32_t mndTransWriteSingleLog(SMnode *pMnode, STrans *pTrans, STransActi
static int32_t mndTransSendSingleMsg(SMnode *pMnode, STrans *pTrans, STransAction *pAction) {
if (pAction->msgSent){
/*
if (pAction->msgReceived) {
if (pAction->errCode != 0 && pAction->errCode != pAction->acceptableCode) {
mndTransResetAction(pMnode, pTrans, pAction);
@ -1123,6 +1124,7 @@ static int32_t mndTransSendSingleMsg(SMnode *pMnode, STrans *pTrans, STransActio
mInfo("trans:%d, %s execute successfully", pTrans->id, mndTransStr(pAction->stage));
}
}
*/
return 0;
}
if (mndCannotExecuteTransAction(pMnode)) return -1;