flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4445) Ignore unmatched state when restoring from savepoint
Date Mon, 31 Oct 2016 14:51:59 GMT

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

ASF GitHub Bot commented on FLINK-4445:
---------------------------------------

Github user uce commented on the issue:

    https://github.com/apache/flink/pull/2713
  
    Going to merge this as #2712 was reviewed and this is essentially the same.


> Ignore unmatched state when restoring from savepoint
> ----------------------------------------------------
>
>                 Key: FLINK-4445
>                 URL: https://issues.apache.org/jira/browse/FLINK-4445
>             Project: Flink
>          Issue Type: Improvement
>          Components: State Backends, Checkpointing
>    Affects Versions: 1.1.1
>            Reporter: Ufuk Celebi
>            Assignee: Ufuk Celebi
>
> When currently submitting a job with a savepoint, we require that all state is matched
to the new job. Many users have noted that this is overly strict. I would like to loosen this
and allow savepoints to be restored without matching all state.
> The following options come to mind:
> (1) Keep the current behaviour, but add a flag to allow ignoring state when restoring,
e.g. {{bin/flink -s <savepoint> --ignoreUnmatchedState}}. This would be non-API breaking.
> (2) Ignore unmatched state and continue. Additionally add a flag to be strict about checking
the state, e.g. {{bin/flink -s <savepoint> --strict}}. This would be API-breaking as
the default behaviour would change. Users might be confused by this because there is no straight
forward way to notice that nothing has been restored.
> I'm not sure what's the best thing here. [~gyfora], [~aljoscha] What do you think?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message