Github user uce commented on the issue:

    https://github.com/apache/flink/pull/2750
  
    In HA mode, checkpoints are not deleted on suspension. This PR won't change 
that behaviour. It only affects non-HA behaviour.
    
    Currently, the behaviour is to remove checkpoints on suspension, which is 
definitely a problem. But in non-HA mode suspension happens also for graceful 
shut down (for example when terminating a YARN session). Never deleting on 
suspend means that users who have `DELETE_ON_CANCELLATION` configured, will 
have externalized checkpoints lingering around when they shut down their non-HA 
cluster. That's why I thought it might be better to treat this the same as the 
retain/delete on cancellation configuration.
    
    Does this make sense? For HA, these setting do not apply during suspension.


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