Github user uce commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1669#discussion_r53677748
  
    --- Diff: 
flink-runtime/src/main/scala/org/apache/flink/runtime/jobmanager/JobManager.scala
 ---
    @@ -1487,7 +1487,7 @@ class JobManager(
               }
             }
     
    -        eg.fail(cause)
    +        eg.cancel()
    --- End diff --
    
    Yes, currently it is the case that state is removed from ZooKeeper when you 
shut down the cluster and run `postStop`. Do you think that this is a problem?
    
    I've created https://issues.apache.org/jira/browse/FLINK-3411 last week for 
a related issue: if all execution retries (current default with checkpointing 
is `Integer.MAX_VALUE`) are exhausted, state is removed as well.


---
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.
---

Reply via email to