Merge pull request #26295 from taosdata/fix/TD-30720
fix(streamMeta): commit tdb after load tasks
This commit is contained in:
commit
5e235b50fa
|
@ -958,6 +958,8 @@ void streamMetaLoadAllTasks(SStreamMeta* pMeta) {
|
||||||
pMeta->numOfStreamTasks, pMeta->numOfPausedTasks);
|
pMeta->numOfStreamTasks, pMeta->numOfPausedTasks);
|
||||||
|
|
||||||
taosArrayDestroy(pRecycleList);
|
taosArrayDestroy(pRecycleList);
|
||||||
|
|
||||||
|
(void)streamMetaCommit(pMeta);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool waitForEnoughDuration(SMetaHbInfo* pInfo) {
|
static bool waitForEnoughDuration(SMetaHbInfo* pInfo) {
|
||||||
|
@ -1743,4 +1745,4 @@ void streamMetaClearUpdateTaskList(SStreamMeta* pMeta) {
|
||||||
void streamMetaInitUpdateTaskList(SStreamMeta* pMeta, int32_t transId) {
|
void streamMetaInitUpdateTaskList(SStreamMeta* pMeta, int32_t transId) {
|
||||||
taosHashClear(pMeta->updateInfo.pTasks);
|
taosHashClear(pMeta->updateInfo.pTasks);
|
||||||
pMeta->updateInfo.transId = transId;
|
pMeta->updateInfo.transId = transId;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue