Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.0
Description
In Execution#releaseAssignedResource we release the assigned resource by calling LogicalSlot#releaseSlot and use FutureUtils.whenCompleteAsyncIfNotDone to merge the future back into the main thread in order to complete the Execution#releaseFuture. This is no longer necessary since the returned future is always completed from within the main thread (with the changes from FLINK-10431).
In fact this control flow break point makes it hard to properly suspend the ExecutionGraph atomically as required for FLINK-11537.
Attachments
Issue Links
- links to