Merge branch 'fix/checkfh' into fix/checkpoint

This commit is contained in:
Haojun Liao 2025-02-20 23:56:16 +08:00
commit bd232016bd
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ int32_t streamMetaStartAllTasks(SStreamMeta* pMeta) {
if (numOfTasks == 0) {
stInfo("vgId:%d no tasks exist, quit from consensus checkpointId", pMeta->vgId);
streamMetaWLock(pMeta);
streamMetaResetStartInfo(&pMeta->startInfo, vgId);
streamMetaWUnLock(pMeta);
return TSDB_CODE_SUCCESS;
}