...
Its implementation ( SchedulerImpl
) should complete the result future only if all requests are fulfilled, or if any failure happens, like allocation timeout, slot loss, etc.
The allocationTimeout
controls how long we wait at most for all slot requests to complete.
The allocationTimeout
controls how long we wait at most for all slot requests to become fulfillable. When SchedulerImpl
receives slot requests that are not fulfillable at the time of the request, we will wait for the allocationTimeout
to expire until requests are failed. The timeout will be canceled once the corresponding requests become fulfillable. However, when slots are lost and the pending requests become unfulfillable, the timeout will be started again.
...