klion26 commented on a change in pull request #7571: [FLINK-10724] Refactor 
failure handling in check point coordinator
URL: https://github.com/apache/flink/pull/7571#discussion_r250628433
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java
 ##########
 @@ -1277,6 +1284,38 @@ private void discardCheckpoint(PendingCheckpoint 
pendingCheckpoint, @Nullable Th
                }
        }
 
+       private void tryHandleCheckpointException(DeclineCheckpoint message, 
PendingCheckpoint currentCheckpoint) {
+               if (message.getReason() != null
 
 Review comment:
   do we need to define a boolean valuable here `boolean xxx = 
message.getReason() != null && !((message.getReason() instanceof 
CheckpointDeclineException) && failOnCheckpointingErrors && 
!currentCheckpoint.getProps().isSavepoint())`

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to