fix(stream): set the initial value.

This commit is contained in:
Haojun Liao 2023-04-18 16:42:40 +08:00
parent abfc2455e6
commit 9f16802451
2 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ int tqStreamTasksScanWal(STQ* pTq) {
}
taosWUnLockLatch(&pMeta->lock);
tqInfo("vgId:%d scan wal for stream tasks for %d times", vgId, times);
tqDebug("vgId:%d scan wal for stream tasks for %d times", vgId, times);
} else {
ASSERT(pMeta->walScan >= 1);
}

View File

@ -61,6 +61,7 @@ SStreamMeta* streamMetaOpen(const char* path, void* ahandle, FTaskExpand expandF
goto _err;
}
pMeta->walScan = 0;
pMeta->vgId = vgId;
pMeta->ahandle = ahandle;
pMeta->expandFunc = expandFunc;