fix(stream): close task if it's in checkdown stream procedure.

This commit is contained in:
Haojun Liao 2024-04-30 17:09:37 +08:00
parent 629502e12e
commit ed610d293f
1 changed files with 2 additions and 1 deletions

View File

@ -1263,7 +1263,8 @@ bool streamMetaTaskInTimer(SStreamMeta* pMeta) {
SStreamTask* pTask = *(SStreamTask**)pIter;
if (pTask->status.timerActive >= 1) {
stDebug("s-task:%s in timer, blocking tasks in vgId:%d restart", pTask->id.idStr, pMeta->vgId);
stDebug("s-task:%s in timer, blocking tasks in vgId:%d restart, set closing again", pTask->id.idStr, pMeta->vgId);
streamTaskStop(pTask);
inTimer = true;
}
}