yanghua commented on a change in pull request #8322: [FLINK-12364] Introduce a 
CheckpointFailureManager to centralized manage checkpoint failure
URL: https://github.com/apache/flink/pull/8322#discussion_r284740074
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/tasks/CheckpointCoordinatorConfiguration.java
 ##########
 @@ -63,11 +65,13 @@ public CheckpointCoordinatorConfiguration(
                        int maxConcurrentCheckpoints,
                        CheckpointRetentionPolicy checkpointRetentionPolicy,
                        boolean isExactlyOnce,
-                       boolean isPerfetCheckpointForRecovery) {
+                       boolean isPerfetCheckpointForRecovery,
+                       int tolerableCpFailureNumber) {
 
                // sanity checks
                if (checkpointInterval < 1 || checkpointTimeout < 1 ||
-                       minPauseBetweenCheckpoints < 0 || 
maxConcurrentCheckpoints < 1) {
+                       minPauseBetweenCheckpoints < 0 || 
maxConcurrentCheckpoints < 1 ||
+                       tolerableCpFailureNumber < 0 || 
tolerableCpFailureNumber >= Integer.MAX_VALUE) {
 
 Review comment:
   Sorry, it's my negligence. Have fixed

----------------------------------------------------------------
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