[
https://issues.apache.org/jira/browse/FLINK-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16320769#comment-16320769
]
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_r160758717
--- 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
--- End diff --
Agreed. In the end we have:
- `CheckpointStorage`: Persisting bytes and Metadata. The Stream
factories should go there in the next part of the rework.
- `KeyedStateBackend`: Holding / snapshotting keyed state
- `OperatorStateBackend`: Holding / snapshotting operator state
These should be three completely independent interfaces, and this PR moves
towards that by introducing the `CheckpointStorage`, even though it does not
yet move the Stream Factories there.
Once the rework is done, the `StateBackend` just bundles a combination is
the three above components (should have only three methods, maybe convenience
overload).
> 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)