Merge pull request #24901 from taosdata/FIX/TD-28853-3.0
enh: change redo log of trans compact-db as prepare log
This commit is contained in:
commit
31b8fd803d
|
@ -240,7 +240,7 @@ int32_t mndAddCompactToTran(SMnode *pMnode, STrans *pTrans, SCompactObj* pCompac
|
||||||
|
|
||||||
SSdbRaw *pVgRaw = mndCompactActionEncode(pCompact);
|
SSdbRaw *pVgRaw = mndCompactActionEncode(pCompact);
|
||||||
if (pVgRaw == NULL) return -1;
|
if (pVgRaw == NULL) return -1;
|
||||||
if (mndTransAppendRedolog(pTrans, pVgRaw) != 0) {
|
if (mndTransAppendPrepareLog(pTrans, pVgRaw) != 0) {
|
||||||
sdbFreeRaw(pVgRaw);
|
sdbFreeRaw(pVgRaw);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue