zhuzhurk 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_r305767007
########## File path: docs/dev/task_failure_recovery.md ########## @@ -22,14 +22,19 @@ specific language governing permissions and limitations under the License. --> -Flink supports different restart strategies which control how the jobs are restarted in case of a failure. -The cluster can be started with a default restart strategy which is always used when no job specific restart strategy has been defined. -In case that the job is submitted with a restart strategy, this strategy overrides the cluster's default setting. +When a task failure happens, Flink needs to restart the failed task and other affected tasks to recover the job to a normal state. + +Restart strategies and failover strategies are used to control the task restarting. +Restart strategies decide whether and when the failed/affected tasks can be restarted. +Failover strategies decide which tasks should be restarted to recover the job. * This will be replaced by the TOC {:toc} -## Overview +## Restart Strategies + +The cluster can be started with a default restart strategy which is always used when no job specific restart strategy has been defined. +In case that the job is submitted with a restart strategy, this strategy overrides the cluster's default setting. Review comment: Ok. ---------------------------------------------------------------- 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