fix(stream): set the initial value.
This commit is contained in:
parent
abfc2455e6
commit
9f16802451
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue