EmmyMiao87 commented on a change in pull request #2093: Fix some routine load 
bugs
URL: https://github.com/apache/incubator-doris/pull/2093#discussion_r341068120
 
 

 ##########
 File path: 
fe/src/main/java/org/apache/doris/load/routineload/RoutineLoadManager.java
 ##########
 @@ -260,8 +260,8 @@ public void resumeRoutineLoadJob(ResumeRoutineLoadStmt 
resumeRoutineLoadStmt) th
         }
 
         if 
(getRoutineLoadJobByState(Sets.newHashSet(RoutineLoadJob.JobState.NEED_SCHEDULE,
-                RoutineLoadJob.JobState.RUNNING)).size() > 
Config.desired_max_waiting_jobs) {
-            throw new DdlException("There are more then " + 
Config.desired_max_waiting_jobs
+                RoutineLoadJob.JobState.RUNNING, 
RoutineLoadJob.JobState.PAUSED)).size() > Config.max_routine_load_job_num) {
+            throw new DdlException("There are more then " + 
Config.max_routine_load_job_num
 
 Review comment:
   This restriction does not need  in here.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to