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); tSimpleHashCleanup(pInfo->pStDeleted);
taosArrayDestroy(pInfo->historyWins); taosArrayDestroy(pInfo->historyWins);
blockDataDestroy(pInfo->pCheckpointRes);
taosMemoryFreeClear(param); taosMemoryFreeClear(param);
} }
@ -4378,6 +4380,8 @@ void destroyStreamStateOperatorInfo(void* param) {
blockDataDestroy(pInfo->pDelRes); blockDataDestroy(pInfo->pDelRes);
taosArrayDestroy(pInfo->historyWins); taosArrayDestroy(pInfo->historyWins);
tSimpleHashCleanup(pInfo->pSeDeleted); tSimpleHashCleanup(pInfo->pSeDeleted);
blockDataDestroy(pInfo->pCheckpointRes);
taosMemoryFreeClear(param); taosMemoryFreeClear(param);
} }

View File

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