Myasuka commented on code in PR #20782:
URL: https://github.com/apache/flink/pull/20782#discussion_r971760064


##########
flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointStatsTrackerTest.java:
##########
@@ -461,6 +467,7 @@ public <T, G extends Gauge<T>> G gauge(String name, G 
gauge) {
         assertEquals(Long.valueOf(persistedData), 
latestPersistedData.getValue());
         assertEquals(Long.valueOf(ackTimestamp), 
latestCompletedDuration.getValue());
         assertEquals(externalPath, latestCompletedExternalPath.getValue());
+        assertEquals(Long.valueOf(0), latestCompletedId.getValue());

Review Comment:
   Actually, we cannot set the checkpoint id as `0` in the production 
environment, I think we could set the pending checkpoint id as `1` by default.



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