Merge remote-tracking branch 'origin/fix/TD-21663' into fix/TD-21663-2

This commit is contained in:
Shengliang Guan 2023-01-12 15:16:47 +08:00
commit 4e6fca5647
1 changed files with 1 additions and 0 deletions

View File

@ -366,6 +366,7 @@ int32_t mndSyncPropose(SMnode *pMnode, SSdbRaw *pRaw, int32_t transId) {
if (pMgmt->transId != 0) {
mError("trans:%d, can't be proposed since trans:%d already waiting for confirm", transId, pMgmt->transId);
taosThreadMutexUnlock(&pMgmt->lock);
rpcFreeCont(req.pCont);
terrno = TSDB_CODE_MND_LAST_TRANS_NOT_FINISHED;
return terrno;
}