zentol commented on a change in pull request #15227:
URL: https://github.com/apache/flink/pull/15227#discussion_r599429925
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointRequestDecider.java
##########
@@ -218,7 +218,7 @@ int getNumQueuedRequests() {
private static void logInQueueTime(CheckpointTriggerRequest request) {
if (LOG.isInfoEnabled()) {
- long timeInQueue = request.timestamp - currentTimeMillis();
+ long timeInQueue = currentTimeMillis() - request.timestamp;
if (timeInQueue > LOG_TIME_IN_QUEUE_THRESHOLD_MS) {
LOG.info("checkpoint request time in queue: {}", timeInQueue);
Review comment:
@rkhachatryan Should this be logged on debug instead?
--
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]