dawidwys commented on a change in pull request #6303: 
[hotfix][JobManageOptions]modify annotation of EXECUTION_FAILOVER_STRATEGY in 
JobManageOptions
URL: https://github.com/apache/flink/pull/6303#discussion_r208238237
 
 

 ##########
 File path: 
flink-core/src/main/java/org/apache/flink/configuration/JobManagerOptions.java
 ##########
 @@ -102,12 +104,21 @@
                        .withDescription("The maximum number of prior execution 
attempts kept in history.");
 
        /**
-        * The maximum number of prior execution attempts kept in history.
+        * This options specifies the failover strategy.
         */
        public static final ConfigOption<String> EXECUTION_FAILOVER_STRATEGY =
                key("jobmanager.execution.failover-strategy")
                        .defaultValue("full")
-                       .withDescription("The maximum number of prior execution 
attempts kept in history.");
+                       .withDescription(Description.builder()
+                               .text("This options specifies the job 
computation recovers from task failures.")
+                               .linebreak()
+                               .text("Accepted values are:")
+                               .linebreak()
+                               .list(
+                                       text("'full': Restarts all tasks."),
+                                       text("'individual': Restarts only the 
failed task. Should only be used if all tasks are independent components."),
+                                       text("'region': Restarts all tasks that 
could be affected the task failure.")
 
 Review comment:
   affected **by** the task failure

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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