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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-13692:
-------------------------------------

             Summary: 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
             Fix For: 1.9.1, 1.10.0


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 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. Otherwise we should close this issue.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)