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

 ##########
 File path: 
fe/src/main/java/org/apache/doris/load/routineload/RoutineLoadManager.java
 ##########
 @@ -254,6 +258,13 @@ public void resumeRoutineLoadJob(ResumeRoutineLoadStmt 
resumeRoutineLoadStmt) th
                                                 
ConnectContext.get().getRemoteIP(),
                                                 tableName);
         }
+
+        if 
(getRoutineLoadJobByState(Sets.newHashSet(RoutineLoadJob.JobState.NEED_SCHEDULE,
+                RoutineLoadJob.JobState.RUNNING)).size() > 
Config.desired_max_waiting_jobs) {
 
 Review comment:
   ```suggestion
                   RoutineLoadJob.JobState.RUNNING)).size() > 
Config.max_routine_load_jobs) {
   ```

----------------------------------------------------------------
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