morningman commented on a change in pull request #1335: Fix proc load
URL: https://github.com/apache/incubator-doris/pull/1335#discussion_r295330096
 
 

 ##########
 File path: 
fe/src/main/java/org/apache/doris/load/routineload/RoutineLoadManager.java
 ##########
 @@ -148,9 +149,11 @@ public void addRoutineLoadJob(RoutineLoadJob 
routineLoadJob, String dbName) thro
                 throw new DdlException("Name " + routineLoadJob.getName() + " 
already used in db "
                         + dbName);
             }
+            if 
(getRoutineLoadJobByState(RoutineLoadJob.JobState.NEED_SCHEDULE).size() > 
desiredMaxWaitingSize) {
+                throw new DdlException("There are too many routine load job in 
waiting queue, please retry later");
 
 Review comment:
   ```suggestion
                   throw new DdlException("There are more than " + 
Config.max_pending_load_jobs + " routine load job in waiting queue, please 
retry later");
   ```

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