isaac-montenegro-jimenez commented on code in PR #29409:
URL: https://github.com/apache/flink/pull/29409#discussion_r4205287213


##########
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java:
##########
@@ -351,7 +353,12 @@ public CheckpointCoordinator(
         try {
             this.checkpointStorageView = 
checkpointStorage.createCheckpointStorage(job);
 
-            if (isPeriodicCheckpointingConfigured()) {
+            if (!chkConfig.isInitializeBaseLocationsEagerly()) {

Review Comment:
   Currently this eager initialisation also serves as a fail fast if the 
directories can't be created. Job would fail right away if something is 
misconfigured. If we move this to the first checkpoint the error handling is 
different. I think that would be a bigger change in behaviour.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to