GitHub user tillrohrmann opened a pull request: https://github.com/apache/flink/pull/2924
[FLINK-5229] [tm] Discard completed checkpoints if a subsequent operator's checkpoint fails In case of a failure of any StreamOperator#snapshotState method, all up to this point created StreamTaskStates will be discarded. This ensures that a failing checkpoint operation of a chained operator won't leave orphaned checkpoint data behind. cc @uce, @StephanEwen. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tillrohrmann/flink fixCheckpointCleanup Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2924.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2924 ---- commit 3ce8cec2cb3dc0c4979ab2cbe30dc1db8d988111 Author: Till Rohrmann <trohrm...@apache.org> Date: 2016-12-02T14:33:06Z [FLINK-5229] [tm] Discard completed checkpoints if a subsequent operator's checkpoint fails In case of a failure of any StreamOperator#snapshotState method, all up to this point created StreamTaskStates are discarded. This ensures that a failing checkpoint operation of a chained operator won't leave orphaned checkpoint data behind. ---- --- 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. ---