Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2

This commit is contained in:
Haojun Liao 2023-07-06 18:26:44 +08:00
commit 61f3585714
2 changed files with 5 additions and 0 deletions

View File

@ -3124,6 +3124,8 @@ void destroyStreamSessionAggOperatorInfo(void* param) {
tSimpleHashCleanup(pInfo->pStDeleted);
taosArrayDestroy(pInfo->historyWins);
blockDataDestroy(pInfo->pCheckpointRes);
taosMemoryFreeClear(param);
}
@ -4378,6 +4380,8 @@ void destroyStreamStateOperatorInfo(void* param) {
blockDataDestroy(pInfo->pDelRes);
taosArrayDestroy(pInfo->historyWins);
tSimpleHashCleanup(pInfo->pSeDeleted);
blockDataDestroy(pInfo->pCheckpointRes);
taosMemoryFreeClear(param);
}

View File

@ -398,6 +398,7 @@ int32_t delObsoleteCheckpoint(void* arg, const char* path) {
taosRemoveDir(tbuf);
}
}
taosArrayDestroy(checkpointDel);
return 0;
}
int32_t streamBackendDoCheckpoint(void* arg, const char* path) {