hailin0 commented on code in PR #5914:
URL: https://github.com/apache/seatunnel/pull/5914#discussion_r1404309494
##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/checkpoint/CheckpointCoordinator.java:
##########
@@ -327,7 +327,10 @@ private void allTaskReady() {
InvocationFuture<?>[] futures = notifyTaskStart();
CompletableFuture.allOf(futures).join();
notifyCompleted(latestCompletedCheckpoint);
-
scheduleTriggerPendingCheckpoint(coordinatorConfig.getCheckpointInterval());
+ if (coordinatorConfig.isCheckpointEnable()) {
+ LOG.info("checkpoint is enabled, start schedule trigger pending
checkpoint.");
+
scheduleTriggerPendingCheckpoint(coordinatorConfig.getCheckpointInterval());
+ }
Review Comment:
```suggestion
} else {
LOG.warn(...)
}
```
--
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]