fix(stream): remove invalid clear of rspmsg list.

This commit is contained in:
Haojun Liao 2023-10-09 15:26:42 +08:00
parent 847baa8b71
commit af4618f958
2 changed files with 1 additions and 1 deletions

View File

@ -1932,6 +1932,7 @@ int32_t tqProcessTaskResetReq(STQ* pTq, SRpcMsg* pMsg) {
// clear flag set during do checkpoint, and open inputQ for all upstream tasks
if (pTask->status.taskStatus == TASK_STATUS__CK) {
streamTaskClearCheckInfo(pTask);
taosArrayClear(pTask->pReadyMsgList);
streamSetStatusNormal(pTask);
}

View File

@ -270,7 +270,6 @@ void streamTaskClearCheckInfo(SStreamTask* pTask) {
pTask->chkInfo.startTs = 0; // clear the recorded start time
pTask->checkpointNotReadyTasks = 0;
pTask->checkpointAlignCnt = 0;
taosArrayClear(pTask->pReadyMsgList);
streamTaskOpenAllUpstreamInput(pTask); // open inputQ for all upstream tasks
}