Merge branch '3.0' into enh/refactorBackend

This commit is contained in:
yihaoDeng 2023-11-13 14:35:23 +08:00
parent de7f2a2d1a
commit 1786f7077d
2 changed files with 4 additions and 0 deletions

View File

@ -3654,6 +3654,8 @@ void bkdMgtDestroy(SBkdMgt* bm) {
} }
taosThreadRwlockDestroy(&bm->rwLock); taosThreadRwlockDestroy(&bm->rwLock);
taosMemoryFree(bm->path);
taosHashCleanup(bm->pDbChkpTbl);
taosMemoryFree(bm); taosMemoryFree(bm);
} }

View File

@ -500,6 +500,8 @@ void streamMetaCloseImpl(void* arg) {
taosThreadMutexDestroy(&pMeta->backendMutex); taosThreadMutexDestroy(&pMeta->backendMutex);
taosCleanUpScheduler(pMeta->qHandle); taosCleanUpScheduler(pMeta->qHandle);
taosMemoryFree(pMeta->qHandle);
bkdMgtDestroy(pMeta->bkdChkptMgt); bkdMgtDestroy(pMeta->bkdChkptMgt);
pMeta->role = NODE_ROLE_UNINIT; pMeta->role = NODE_ROLE_UNINIT;