Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hotfix] Replace check state condition in Execution#tryAssignResource…
… with if check Instead of risking an IllegalStateException it is better to check that the taskManagerLocationFuture has not been completed yet. If, then we also reject the assignment of the LogicalSlot to the Execution. That way, we don't risk that we don't release the slot in case of an exception in Execution#allocateAndAssignSlotForExecution.
- Loading branch information