[jira] [Created] (FLINK-14307) Extract JobGraphWriter from JobGraphStore

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

[jira] [Created] (FLINK-14307) Extract JobGraphWriter from JobGraphStore

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-14307:
-------------------------------------

             Summary: Extract JobGraphWriter from JobGraphStore
                 Key: FLINK-14307
                 URL: https://issues.apache.org/jira/browse/FLINK-14307
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Coordination
    Affects Versions: 1.10.0
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann
             Fix For: 1.10.0


In order to follow the ISP, I suggest to extract a {{JobGraphWriter}} interface from the {{JobGraphStore}}. The background is that in the future, the {{Dispatcher}} does not need to recover jobs anymore and, hence, it should not know the recovery related methods of the {{JobGraphStore}}. Instead, the only methods it needs to know are {{putJobGraph}}, {{removeJobGraph}} and {{releaseJobGraph}}.



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