fix(stream): not check the total number of sub tasks with different status.

This commit is contained in:
Haojun Liao 2024-07-08 15:43:29 +08:00
parent 56b7ec3d89
commit 7cfdf0c14d
1 changed files with 21 additions and 21 deletions

View File

@ -703,9 +703,6 @@ void rspMonitorFn(void* param, void* tmrId) {
if (pStat->state == TASK_STATUS__UNINIT) {
getCheckRspStatus(pInfo, timeoutDuration, &numOfReady, &numOfFault, &numOfNotRsp, pTimeoutList, pNotReadyList, id);
} else { // unexpected status
stError("s-task:%s unexpected task status:%s during waiting for check rsp", id, pStat->name);
}
numOfNotReady = (int32_t)taosArrayGetSize(pNotReadyList);
numOfTimeout = (int32_t)taosArrayGetSize(pTimeoutList);
@ -727,6 +724,9 @@ void rspMonitorFn(void* param, void* tmrId) {
taosArrayDestroy(pTimeoutList);
return;
}
} else { // unexpected status
stError("s-task:%s unexpected task status:%s during waiting for check rsp", id, pStat->name);
}
// checking of downstream tasks has been stopped by other threads
if (pInfo->stopCheckProcess == 1) {