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

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

View File

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

View File

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