GitHub user tillrohrmann opened a pull request: https://github.com/apache/flink/pull/5687
[FLINK-8934] [flip6] Properly cancel slot requests of otherwisely fulfilled requests ## What is the purpose of the change Cancel slot requests at the ResourceManager if they have been completed with a different allocation. cc @zentol ## Verifying this change - Adapted `SlotPoolTest#testFulfillingSlotRequestsWithUnusedOfferedSlots` to check cancellation ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no) - The serializers: (no) - The runtime per-record code paths (performance sensitive): (no) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes) - The S3 file system connector: (no) ## Documentation - Does this pull request introduce a new feature? (no) - If yes, how is the feature documented? (not applicable) You can merge this pull request into a Git repository by running: $ git pull https://github.com/tillrohrmann/flink fixSlotRequestCancellation Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/5687.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #5687 ---- commit 95148aa8d6a217e4002ad823aacb3f7e0aaf4d9e Author: Till Rohrmann <trohrmann@...> Date: 2018-03-13T07:13:44Z [FLINK-8934] [flip6] Properly cancel slot requests of otherwisely fulfilled requests Cancel slot requests at the ResourceManager if they have been completed with a different allocation. ---- ---