This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push: new 44bb2bb639e [opt](routine-load) do not schedule invalid task (#34918) 44bb2bb639e is described below commit 44bb2bb639ef65e9206434c515db61f1bfccb727 Author: HHoflittlefish777 <77738092+hhoflittlefish...@users.noreply.github.com> AuthorDate: Tue May 21 11:56:09 2024 +0800 [opt](routine-load) do not schedule invalid task (#34918) --- .../org/apache/doris/load/routineload/RoutineLoadTaskScheduler.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadTaskScheduler.java b/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadTaskScheduler.java index 6c0baf5bdff..d4d5d5512d3 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadTaskScheduler.java +++ b/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadTaskScheduler.java @@ -123,6 +123,9 @@ public class RoutineLoadTaskScheduler extends MasterDaemon { } try { + if (routineLoadManager.getJob(routineLoadTaskInfo.getJobId()).isFinal()) { + return; + } // check if topic has more data to consume if (!routineLoadTaskInfo.hasMoreDataToConsume()) { needScheduleTasksQueue.addLast(routineLoadTaskInfo); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org