This is an automated email from the ASF dual-hosted git repository.
liaoxin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new c8103290dfd [opt](routine-load) do not schedule invalid task (#34918)
c8103290dfd is described below
commit c8103290dfd7adcf18bd949fcd595d28fa8bff76
Author: HHoflittlefish777 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]