You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2017/07/23 14:24:00 UTC

[jira] [Resolved] (FLINK-6667) Pass a callback type to the RestartStrategy, rather than the full ExecutionGraph

     [ https://issues.apache.org/jira/browse/FLINK-6667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Ewen resolved FLINK-6667.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.2
                   1.4.0
     Release Note: 
Fixed in 
  - 1.4.0 via 65400bd0a0f6a3bdd3e0bad05e2179534eaf6e9e
  - 1.3.2 via 65400bd0a0f6a3bdd3e0bad05e2179534eaf6e9e

1.3.2 needed to be fixed because this was a blocker for a critical bug fix

> Pass a callback type to the RestartStrategy, rather than the full ExecutionGraph
> --------------------------------------------------------------------------------
>
>                 Key: FLINK-6667
>                 URL: https://issues.apache.org/jira/browse/FLINK-6667
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Distributed Coordination
>    Affects Versions: 1.3.0
>            Reporter: Stephan Ewen
>            Assignee: Fang Yong
>             Fix For: 1.4.0, 1.3.2
>
>
> To let the {{ResourceStrategy}} work across multiple {{FailoverStrategy}} implementations, it needs to be passed a "callback" to call to trigger the restart of tasks/regions/etc.
> Such a "callback" would be a nice abstraction to use for global restarts as well, to not expose the full execution graph.
> Ideally, the callback is one-shot, so it cannot accidentally be used to call restart() multiple times.
> This would also make the testing of RestartStrategies much easier.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)