GitHub user tony810430 opened a pull request:

    https://github.com/apache/flink/pull/3374

    [FLINK-4754] [checkpoints] Make number of retained checkpoints user 
configurable

    I add `CheckpointConfig.setMaxNumberOfCheckpointsToRetain` to expose user 
the configuration for number of retained checkpoints, and update the 
constructor of `JobSnapshottingSettings` to pass the value to 
`CheckpointRecoveryFactory`.
    
    However, I didn't make this value lazily in the checkpoint store 
implementations.
    It is useful to make it lazily if there is a need to reconfigure it during 
job is running, but I think that should be another issue.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tony810430/flink FLINK-4754

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3374.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 #3374
    
----
commit d475017c29d9c8b91f740227b439d9fa7da152b3
Author: Tony Wei <[email protected]>
Date:   2017-02-20T10:30:24Z

    [FLINK-4754] Make number of retained checkpoints user configurable

----


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