GJL commented on a change in pull request #9113: [FLINK-13222] [runtime] Add 
documentation for failover strategy option
URL: https://github.com/apache/flink/pull/9113#discussion_r304872150
 
 

 ##########
 File path: docs/dev/task_failure_recovery.md
 ##########
 @@ -264,4 +268,44 @@ The cluster defined restart strategy is used.
 This is helpful for streaming programs which enable checkpointing.
 By default, a fixed delay restart strategy is chosen if there is no other 
restart strategy defined.
 
+## Failover Strategies
+
+Flink supports different failover strategies which can be configured via the 
configuration parameter
+*jobmanager.execution.failover-strategy* in Flink's configuration file 
`flink-conf.yaml`.
+
+<table class="table table-bordered">
+  <thead>
+    <tr>
+      <th class="text-left" style="width: 50%">Failover Strategy</th>
+      <th class="text-left">Value for 
jobmanager.execution.failover-strategy</th>
+    </tr>
+  </thead>
+  <tbody>
+    <tr>
+        <td>Restart all</td>
+        <td>full</td>
+    </tr>
+    <tr>
+        <td>Restart pipelined region</td>
+        <td>region</td>
+    </tr>
+  </tbody>
+</table>
+
+### Restart All Strategy
+
+With this strategy, all tasks in the job will be restarted to recover from a 
task failure.
+
+### Restart Pipelined Region Strategy
+
+With this strategy, tasks to restart depend on the regions to restart.
+A region is defined by this strategy as tasks that communicate via pipelined 
data exchange.
 
 Review comment:
   I think there is very little documentation about pipelined and batch data 
exchange. However, the user should be able to make use of the _"restart 
pipelined region strategy"_ after reading this section. We could place a 
hyperlink from this page to one of the following documents or both:
   
   1. 
https://ci.apache.org/projects/flink/flink-docs-release-1.8/api/java/org/apache/flink/api/common/ExecutionMode.html
   1. 
https://ci.apache.org/projects/flink/flink-docs-release-1.8/dev/execution_configuration.html
   
   WDYT?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to