morningman commented on a change in pull request #333: Add distributor which 
allocate task to be fairly
URL: https://github.com/apache/incubator-doris/pull/333#discussion_r235324949
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/load/routineload/RoutineLoad.java
 ##########
 @@ -44,8 +48,11 @@
     private Map<Long, RoutineLoadJob> idToCancelledRoutineLoadJob;
 
     // stream load tasks meta (not persistent)
-    private Map<Long, RoutineLoadTask> idToRoutineLoadTask;
-    private Map<Long, RoutineLoadTask> idToNeedSchedulerRoutineLoadTask;
+    private Map<Long, RoutineLoadTaskInfo> idToRoutineLoadTask;
+    // KafkaPartitions means that partitions belong to one task
+    // kafka partitions == routine load task (logical)
+    private Queue<RoutineLoadTaskInfo> needSchedulerRoutineLoadTask;
 
 Review comment:
   needSchedulerRoutineLoadTask -> needSchedulerRoutineLoadTasks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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