akalash commented on a change in pull request #16135:
URL: https://github.com/apache/flink/pull/16135#discussion_r655330366
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointOptions.java
##########
@@ -47,7 +47,11 @@
FORCED_ALIGNED
}
- public static final long NO_ALIGNMENT_TIME_OUT = Long.MAX_VALUE;
+ /**
+ * Long.MAX_VALUE can not be used because this value should represent ms
which will be converted
+ * to ns.
+ */
+ public static final long NO_ALIGNMENT_TIME_OUT = 2L * Integer.MAX_VALUE;
Review comment:
Oh, I actually think it isn't allowed to do so. I need to rethink it.
--
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]