This commit is contained in:
dmchen 2023-11-02 05:42:17 +00:00 committed by dm chen
parent 481c5981d6
commit 20e5702183
1 changed files with 2 additions and 0 deletions

View File

@ -1114,6 +1114,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);
@ -1121,6 +1122,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;