fix: should not set startFunc/stopFunc to 0. when the trans is not finished on taosd stop, it will cause the startFunc/stopFunc setting error
This commit is contained in:
parent
24bb33f24a
commit
0b00922a43
|
@ -513,7 +513,7 @@ static int32_t mndTransActionInsert(SSdb *pSdb, STrans *pTrans) {
|
||||||
if (fp) {
|
if (fp) {
|
||||||
(*fp)(pSdb->pMnode, pTrans->param, pTrans->paramLen);
|
(*fp)(pSdb->pMnode, pTrans->param, pTrans->paramLen);
|
||||||
}
|
}
|
||||||
pTrans->startFunc = 0;
|
// pTrans->startFunc = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -557,7 +557,7 @@ static int32_t mndTransActionDelete(SSdb *pSdb, STrans *pTrans, bool callFunc) {
|
||||||
if (fp) {
|
if (fp) {
|
||||||
(*fp)(pSdb->pMnode, pTrans->param, pTrans->paramLen);
|
(*fp)(pSdb->pMnode, pTrans->param, pTrans->paramLen);
|
||||||
}
|
}
|
||||||
pTrans->stopFunc = 0;
|
// pTrans->stopFunc = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
mndTransDropData(pTrans);
|
mndTransDropData(pTrans);
|
||||||
|
|
Loading…
Reference in New Issue