[jira] [Created] (FLINK-11729) Make all state backends follow builder pattern

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

[jira] [Created] (FLINK-11729) Make all state backends follow builder pattern

Shang Yuanchun (Jira)
Yu Li created FLINK-11729:
-----------------------------

             Summary: Make all state backends follow builder pattern
                 Key: FLINK-11729
                 URL: https://issues.apache.org/jira/browse/FLINK-11729
             Project: Flink
          Issue Type: Improvement
          Components: State Backends, Checkpointing
            Reporter: Yu Li
            Assignee: Yu Li


In FLINK-10043 we have introduced builder pattern for {{RocksDBKeyedStateBackend}} and moved all necessary initialization of the backend into the builder, out of which the most important part is the {{restore}} operation. None of the backends could actually supply service before the restore operation is done, so it's native to make restore part of the _building phase_.

In this JIRA we propose to make all backends follow the builder pattern. More specifically, create builders for {{HeapKeyedStateBackend}} and {{DefaultOperatorStateBackend}} and move their {{restore}} operations into the builders. Will create sub-tasks for each of them.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)