[
https://issues.apache.org/jira/browse/FLINK-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16320771#comment-16320771
]
ASF GitHub Bot commented on FLINK-5823:
---------------------------------------
Github user StephanEwen commented on a diff in the pull request:
https://github.com/apache/flink/pull/5248#discussion_r160758820
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/state/StateBackend.java ---
@@ -84,13 +84,44 @@
public interface StateBackend extends java.io.Serializable {
//
------------------------------------------------------------------------
- // Persistent Bytes Storage
+ // Checkpoint storage - the durable persistence of checkpoint data
+ //
------------------------------------------------------------------------
+
+ /**
+ * Resolves the given pointer to a checkpoint/savepoint into a state
handle from which the
+ * checkpoint metadata can be read. If the state backend cannot
understand the format of
+ * the pointer (for example because it was created by a different state
backend) this method
+ * should throw an {@code IOException}.
+ *
+ * @param pointer The pointer to resolve.
+ * @return The state handler from which one can read the checkpoint
metadata.
+ *
+ * @throws IOException Thrown, if the state backend does not understand
the pointer, or if
+ * the pointer could not be resolved due to an I/O
error.
+ */
+ StreamStateHandle resolveCheckpoint(String pointer) throws IOException;
--- End diff --
See above, I don't think we get around String.
> Store Checkpoint Root Metadata in StateBackend (not in HA custom store)
> -----------------------------------------------------------------------
>
> Key: FLINK-5823
> URL: https://issues.apache.org/jira/browse/FLINK-5823
> Project: Flink
> Issue Type: Sub-task
> Components: State Backends, Checkpointing
> Reporter: Stephan Ewen
> Assignee: Stephan Ewen
> Priority: Blocker
> Fix For: 1.5.0
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)