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:39:00 UTC
[jira] [Commented] (FLINK-11729) Make all state backends follow
builder pattern
[ https://issues.apache.org/jira/browse/FLINK-11729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775487#comment-16775487 ]
Yu Li commented on FLINK-11729:
-------------------------------
The relative discussion in [PR of FLINK-10043|https://github.com/apache/flink/pull/7674#discussion_r257650293] as a reference.
> 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
> Priority: Major
>
> 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)