提交 62a763ea 编写于 作者: H Haojun Liao

fix(stream): fix invalid assert.

上级 a571663a
...@@ -121,7 +121,6 @@ static int32_t streamAlignCheckpoint(SStreamTask* pTask, int64_t checkpointId, i ...@@ -121,7 +121,6 @@ static int32_t streamAlignCheckpoint(SStreamTask* pTask, int64_t checkpointId, i
pTask->checkpointingId = checkpointId; pTask->checkpointingId = checkpointId;
} }
ASSERT(pTask->checkpointingId == checkpointId);
return atomic_sub_fetch_32(&pTask->checkpointAlignCnt, 1); return atomic_sub_fetch_32(&pTask->checkpointAlignCnt, 1);
} }
......
...@@ -541,13 +541,6 @@ int32_t streamTryExec(SStreamTask* pTask) { ...@@ -541,13 +541,6 @@ int32_t streamTryExec(SStreamTask* pTask) {
pTask->checkpointingId); pTask->checkpointingId);
} }
if (pTask->info.taskLevel != TASK_LEVEL__SINK) {
// code = updateCheckPointInfo(pTask, pTask->checkpointingId);
// if (code != TSDB_CODE_SUCCESS) {
// return code;
// }
}
// send check point response to upstream task // send check point response to upstream task
if (pTask->info.taskLevel == TASK_LEVEL__SOURCE) { if (pTask->info.taskLevel == TASK_LEVEL__SOURCE) {
code = streamTaskSendCheckpointSourceRsp(pTask); code = streamTaskSendCheckpointSourceRsp(pTask);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册