klion26 commented on a change in pull request #8229: FLINK-12273[The default 
value of CheckpointRetentionPolicy should be …
URL: https://github.com/apache/flink/pull/8229#discussion_r277168751
 
 

 ##########
 File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamingJobGraphGenerator.java
 ##########
 @@ -627,7 +627,7 @@ private void configureCheckpointing() {
                                        
CheckpointRetentionPolicy.RETAIN_ON_FAILURE :
                                        
CheckpointRetentionPolicy.RETAIN_ON_CANCELLATION;
                } else {
-                       retentionAfterTermination = 
CheckpointRetentionPolicy.NEVER_RETAIN_AFTER_TERMINATION;
+                       retentionAfterTermination = 
CheckpointRetentionPolicy.RETAIN_ON_FAILURE;
 
 Review comment:
   Why do you want to change the default value here, instead of set an external 
checkpoint cleanup?

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


With regards,
Apache Git Services

Reply via email to