[
https://issues.apache.org/jira/browse/FLINK-4754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901360#comment-15901360
]
ASF GitHub Bot commented on FLINK-4754:
---------------------------------------
Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/3374
Looks good in general. I would suggest two improvements:
1. Migrate the config parameter to `CoreOptions`
2. Add a test
> Make number of retained checkpoints user configurable
> -----------------------------------------------------
>
> Key: FLINK-4754
> URL: https://issues.apache.org/jira/browse/FLINK-4754
> Project: Flink
> Issue Type: Improvement
> Components: State Backends, Checkpointing
> Affects Versions: 1.1.2
> Reporter: Ufuk Celebi
> Assignee: Wei-Che Wei
>
> The number of retained successful checkpoints is fixed to 1. Expose this
> setting via the {{CheckpointConfig}} instead of having it fixed as a static
> field in the {{CheckpointRecoveryFactory}}.
> With the current state of things, this would require to set this value lazily
> in the checkpoint store implementations instead of setting it when creating
> the store.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)