提交 1e680d4d 编写于 作者: H Haojun Liao

fix(stream): ignore the sink task transfer state.

上级 3bcc7ed8
......@@ -382,10 +382,11 @@ static int32_t streamTransferStateToStreamTask(SStreamTask* pTask) {
return code;
}
if (pTask->info.taskLevel == TASK_LEVEL__SOURCE) {
int32_t level = pTask->info.taskLevel;
if (level == TASK_LEVEL__SOURCE) {
streamTaskFillHistoryFinished(pTask);
streamTaskEndScanWAL(pTask);
} else { // do transfer task operator states.
} else if (level == TASK_LEVEL__AGG) { // do transfer task operator states.
code = streamDoTransferStateToStreamTask(pTask);
if (code != TSDB_CODE_SUCCESS) { // todo handle this
return code;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册