You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Hequn Cheng (Jira)" <ji...@apache.org> on 2020/01/23 06:42:00 UTC

[jira] [Updated] (FLINK-13692) Make CompletedCheckpointStore backwards compatible?

     [ https://issues.apache.org/jira/browse/FLINK-13692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hequn Cheng updated FLINK-13692:
--------------------------------
    Fix Version/s:     (was: 1.9.2)
                   1.9.3

> Make CompletedCheckpointStore backwards compatible?
> ---------------------------------------------------
>
>                 Key: FLINK-13692
>                 URL: https://issues.apache.org/jira/browse/FLINK-13692
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Checkpointing
>    Affects Versions: 1.9.0, 1.10.0
>            Reporter: Till Rohrmann
>            Priority: Major
>             Fix For: 1.11.0, 1.9.3
>
>
> With FLINK-11159 we changed the signature of {{CompletedCheckpointStore#getLatestCheckpoint}} from {{getLatestCheckpoint()}} to {{getLatestCheckpoint(boolean)}}. This is an API breaking change which causes users of this interface having to adapt their implementation and recompile it. Since {{CompletedCheckpointStore}} is no public API, this change is technically ok, but not so nice. 
> If we decide to provide backwards compatibility, then we should still keep {{getLatestCheckpoint()}} and add a deprecation annotation to it. At least, we should update the JavaDocs of the {{CompletedCheckpointStore#getLatestCheckpoint}} method to reflect what the passed parameter states.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)