fix(stream): not check the total number of sub tasks with different status.
This commit is contained in:
parent
56b7ec3d89
commit
7cfdf0c14d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue