[jira] [Created] (FLINK-21167) Make StateTable snapshots iterable

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

[jira] [Created] (FLINK-21167) Make StateTable snapshots iterable

Shang Yuanchun (Jira)
Dawid Wysakowicz created FLINK-21167:
----------------------------------------

             Summary: Make StateTable snapshots iterable
                 Key: FLINK-21167
                 URL: https://issues.apache.org/jira/browse/FLINK-21167
             Project: Flink
          Issue Type: Sub-task
          Components: Runtime / Checkpointing, Runtime / State Backends
            Reporter: Dawid Wysakowicz
            Assignee: Dawid Wysakowicz
             Fix For: 1.13.0


In order to implement an iterator required by a binary unified savepoint we need a way to iterate a snapshot. We should add an interface

{code}
@Internal
public interface IterableStateSnapshot<K, N, S> extends StateSnapshot {
    Iterator<StateEntry<K, N, S>> getIterator(int keyGroup);
}
{code}

that will be implemented by StateTableSnapshots.





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