Merge pull request #26889 from taosdata/fix/syntax
fix(stream): check status before start check-rsp timer.
This commit is contained in:
commit
e4064c3ddd
|
@ -283,6 +283,8 @@ void streamTaskStartMonitorCheckRsp(SStreamTask* pTask) {
|
||||||
// drop procedure already started, not start check downstream now
|
// drop procedure already started, not start check downstream now
|
||||||
ETaskStatus s = streamTaskGetStatus(pTask).state;
|
ETaskStatus s = streamTaskGetStatus(pTask).state;
|
||||||
if (s == TASK_STATUS__DROPPING) {
|
if (s == TASK_STATUS__DROPPING) {
|
||||||
|
stDebug("s-task:%s task not in uninit status, status:%s not start monitor check-rsp", pTask->id.idStr,
|
||||||
|
streamTaskGetStatusStr(s));
|
||||||
streamMutexUnlock(&pInfo->checkInfoLock);
|
streamMutexUnlock(&pInfo->checkInfoLock);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue