Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6664 Extend Restart Strategy for Fine-grained Recovery and missing Resources
  3. FLINK-6667

Pass a callback type to the RestartStrategy, rather than the full ExecutionGraph

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.2, 1.4.0
    • Component/s: Runtime / Coordination
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zjureel Fang Yong
                Reporter:
                sewen Stephan Ewen
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: