Github user aljoscha commented on a diff in the pull request:
https://github.com/apache/flink/pull/4364#discussion_r128476571
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionGraph.java
---
@@ -1120,10 +1125,16 @@ public void accept(Void value) {
}
}
- public void restart() {
+ public void restart(long expectedGlobalVersion) {
try {
synchronized (progressLock) {
- JobStatus current = state;
+ // check and increment the global version to
move this recovery up
--- End diff --
"check the current global version to determine whether our recovery attempt
is still current"?
It's not incrementing the global version here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---