redo
This commit is contained in:
parent
88da6e0879
commit
55a5c3dd54
|
@ -1116,7 +1116,6 @@ static int32_t mndTransWriteSingleLog(SMnode *pMnode, STrans *pTrans, STransActi
|
||||||
|
|
||||||
static int32_t mndTransSendSingleMsg(SMnode *pMnode, STrans *pTrans, STransAction *pAction) {
|
static int32_t mndTransSendSingleMsg(SMnode *pMnode, STrans *pTrans, STransAction *pAction) {
|
||||||
if (pAction->msgSent){
|
if (pAction->msgSent){
|
||||||
/*
|
|
||||||
if (pAction->msgReceived) {
|
if (pAction->msgReceived) {
|
||||||
if (pAction->errCode != 0 && pAction->errCode != pAction->acceptableCode) {
|
if (pAction->errCode != 0 && pAction->errCode != pAction->acceptableCode) {
|
||||||
mndTransResetAction(pMnode, pTrans, pAction);
|
mndTransResetAction(pMnode, pTrans, pAction);
|
||||||
|
@ -1124,7 +1123,6 @@ static int32_t mndTransSendSingleMsg(SMnode *pMnode, STrans *pTrans, STransActio
|
||||||
mInfo("trans:%d, %s execute successfully", pTrans->id, mndTransStr(pAction->stage));
|
mInfo("trans:%d, %s execute successfully", pTrans->id, mndTransStr(pAction->stage));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (mndCannotExecuteTransAction(pMnode)) return -1;
|
if (mndCannotExecuteTransAction(pMnode)) return -1;
|
||||||
|
|
Loading…
Reference in New Issue