[ https://issues.apache.org/jira/browse/FLINK-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14556099#comment-14556099 ]
Aljoscha Krettek commented on FLINK-2081: ----------------------------------------- The way I see it is that open always initialises everything and does not depend on state. And then, when there is state, the restore() can modify the current state that was already initialised. > Change order of restore state and open for Streaming Operators > -------------------------------------------------------------- > > Key: FLINK-2081 > URL: https://issues.apache.org/jira/browse/FLINK-2081 > Project: Flink > Issue Type: Improvement > Components: Streaming > Affects Versions: 0.9 > Reporter: Aljoscha Krettek > Assignee: Aljoscha Krettek > > Right now, the order is restore state -> open. Users often set internal state > in the open method, this would overwrite state that was restored from a > checkpoint. If we change the order to open -> restore this should not be a > problem anymore. -- This message was sent by Atlassian JIRA (v6.3.4#6332)