zentol commented on code in PR #21245:
URL: https://github.com/apache/flink/pull/21245#discussion_r1015386009


##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/CheckpointConfig.java:
##########
@@ -186,7 +164,7 @@ public void disableCheckpointing() {
      * @return True if checkpointing is enables, false otherwise.
      */
     public boolean isCheckpointingEnabled() {
-        return checkpointInterval > 0;
+        return 
configuration.contains(ExecutionCheckpointingOptions.CHECKPOINTING_INTERVAL);

Review Comment:
   IIRC we'd have to touch other components as well that expect the interval to 
be > 0 if checkpointing is enabled. like the checkpoint coordinator maybe?



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