tillrohrmann commented on a change in pull request #7118: [FLINK-10482] Fix
double counting of checkpoint stat
URL: https://github.com/apache/flink/pull/7118#discussion_r238709753
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java
##########
@@ -970,7 +970,7 @@ public void heartbeatFromResourceManager(final ResourceID
resourceID) {
return path;
}, getMainThreadExecutor())
.exceptionally(throwable -> {
- if (cancelJob) {
+ if (cancelJob && executionGraph.getState() ==
JobStatus.RUNNING) {
Review comment:
What situation are we filtering out with this change?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services