tillrohrmann opened a new pull request #15059: URL: https://github.com/apache/flink/pull/15059
Since we don't execute StateWithExecutionGraph.onGloballyTerminalState immediately if the EG reaches a globally terminal state, the StateWithExecutionGraph needs to support #suspend calls when the EG is in a globally terminal state. In order to do this, the commit changes the precondition in StateWithExecutionGraph.suspend from EG.getState() == JobStatus.SUSPEND to EG.getState().isTerminalState() after calling EG.suspend. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
