Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-11663

Remove control flow break point from Execution#releaseAssignedResource

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              trohrmann Till Rohrmann
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m