zhuzhurk commented on a change in pull request #12256:
URL: https://github.com/apache/flink/pull/12256#discussion_r432272564



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/SlotProviderStrategy.java
##########
@@ -56,6 +62,24 @@
                ScheduledUnit scheduledUnit,
                SlotProfile slotProfile);
 
+       /**
+        * Allocates a bulk of physical slots.
+        *
+        * @param physicalSlotRequests requests for physical slots
+        * @return future of the allocation which will be completed normally 
only when all the requests are fulfilled
+        */
+       public CompletableFuture<Collection<PhysicalSlotRequest.Result>> 
allocatePhysicalSlots(

Review comment:
       done by make `OneSlotPerExecutionSlotAllocator ` interact with 
`SloProvider` directly.




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