flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aljoscha Krettek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2081) Change order of restore state and open for Streaming Operators
Date Fri, 22 May 2015 12:41:18 GMT

    [ 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)

Mime
View raw message