[
https://issues.apache.org/jira/browse/FLINK-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14556040#comment-14556040
]
Gyula Fora commented on FLINK-2081:
-----------------------------------
I think state restore should come before open and it should be clearly
documented. Forcing the users to work around solutions for initializing in
next() is very weird.
> 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)