fix/TD-28895

This commit is contained in:
dmchen 2024-02-28 08:31:45 +00:00
parent 09a04ed0a4
commit 00d6611ba7
1 changed files with 2 additions and 2 deletions

View File

@ -369,7 +369,7 @@ static int32_t mndKillCompact(SMnode *pMnode, SRpcMsg *pReq, SCompactObj *pCompa
return -1;
}
mInfo("trans:%d, used to kill compact:%" PRId32, pTrans->id, pCompact->compactId);
/*
SSdbRaw *pCommitRaw = mndCompactActionEncode(pCompact);
if (pCommitRaw == NULL || mndTransAppendCommitlog(pTrans, pCommitRaw) != 0) {
mError("trans:%d, failed to append commit log since %s", pTrans->id, terrstr());
@ -377,7 +377,7 @@ static int32_t mndKillCompact(SMnode *pMnode, SRpcMsg *pReq, SCompactObj *pCompa
return -1;
}
(void)sdbSetRawStatus(pCommitRaw, SDB_STATUS_READY);
*/
void *pIter = NULL;
while (1) {
SCompactDetailObj *pDetail = NULL;