fix(stream):commit the update of table meta.

This commit is contained in:
Haojun Liao 2024-07-11 14:57:40 +08:00
parent 7214cea808
commit 15573efbbc
1 changed files with 3 additions and 0 deletions

View File

@ -442,6 +442,9 @@ int32_t streamTaskUpdateTaskCheckpointInfo(SStreamTask* pTask, bool restored, SV
id, vgId, pReq->taskId, numOfTasks); id, vgId, pReq->taskId, numOfTasks);
} }
streamMetaWLock(pMeta); streamMetaWLock(pMeta);
if (streamMetaCommit(pMeta) < 0) {
// persist to disk
}
} }
return TSDB_CODE_SUCCESS; return TSDB_CODE_SUCCESS;