You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yu Li (JIRA)" <ji...@apache.org> on 2019/02/22 18:23:00 UTC

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

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)