Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/3113
  
    Considering the possible state transitions:
    
    ## ExecutionState
      - `RECONCILING` can only be entered from `CREATED`
    
    Simple:
      - `RECONCILING` can go to `RUNNING` if the task was reconciled
      - `RECONCILING` can go to `FAILED` if the task was not reconciled
    
    Complex:
      - For `RECONCILING` to go to `FINISHED`, `CANCELED`, it would mean that 
the TaskManager that has the task would report (when registering at the 
JobManager) a task that is no longer executing. To do that, the TaskManager 
would need to "remember" tasks that completed and where it did not get an 
acknowledgement from the JobManager for the execution state update. Is that 
anticipated?
    
    ## JobStatus
      - `RECONCILING` can only be entered from `CREATED`
    
    Simple:
      - `RECONCILING` can go to `RUNNING` - if all TaskManagers report their 
status and tasks as running
      - `RECONCILING` can go to `FAILING` - if not all tasks were reported.
    
    Complex:
      - For reconciling to go to into `FINISHED`, we'd need that the 
`ExecutionState` can go to `FINISHED`.
    
    What do you think about only doing the "simple" option in the first version?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to