[ 
https://issues.apache.org/jira/browse/FLINK-10334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16726535#comment-16726535
 ] 

TisonKun commented on FLINK-10334:
----------------------------------

Hi [~till.rohrmann], I am drafting an overall design of rethinking our 
ZooKeeper based HaService. Here I meet the same problem. We want to separate 
the communicate with zk and that with filesystem.

Currently we melt {{RetrievableStateStorageHelper}} in 
{{ZooKeeperStateHandleStore}} which couples a write on zk with a write on 
filesystem. IMHO they should stay at the same level inside 
{{SubmittedJobGraphStore}}. That is, a {{SubmittedJobGraphStore}} has a 
{{RetrievableStateStorageHelper}} and a {{ZKStore}}. We store the state into 
the filesystem, get the handle and store the handle into zk. These all happen 
at the {{SubmittedJobGraphStore}} level. What do you think?

> Move RetrievableStateStorageHelper out of ZooKeeperStateHandleStore
> -------------------------------------------------------------------
>
>                 Key: FLINK-10334
>                 URL: https://issues.apache.org/jira/browse/FLINK-10334
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Distributed Coordination
>    Affects Versions: 1.5.3, 1.6.0, 1.7.0
>            Reporter: Till Rohrmann
>            Assignee: vinoyang
>            Priority: Major
>             Fix For: 1.8.0
>
>
> Move the {{RetrievableStateStorageHelper}} out of the 
> {{ZooKeeperStateHandleStore}} in order to better separate concerns.



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

Reply via email to