tillrohrmann commented on a change in pull request #13181:
URL: https://github.com/apache/flink/pull/13181#discussion_r479998734



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/slotpool/SchedulerImpl.java
##########
@@ -98,14 +101,15 @@ public SchedulerImpl(
                        "Scheduler is not initialized with proper main thread 
executor. " +
                                "Call to Scheduler.start(...) required.");
 
-               this.bulkSlotProvider = new 
BulkSlotProviderImpl(slotSelectionStrategy, slotPool);
+               this.slotRequestBulkChecker = 
PhysicalSlotRequestBulkCheckerImpl.fromSlotPool(slotPool, 
SystemClock.getInstance());
+               this.bulkSlotProvider = new 
BulkSlotProviderImpl(slotSelectionStrategy, slotPool, slotRequestBulkChecker);

Review comment:
       It might make sense to tackle these kind of things in the beginning and 
not at the end for future developments.




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


Reply via email to