ibessonov commented on code in PR #6369:
URL: https://github.com/apache/ignite-3/pull/6369#discussion_r2256079203


##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/persistence/checkpoint/Checkpointer.java:
##########
@@ -407,8 +408,8 @@ void doCheckpoint() throws IgniteInternalCheckedException {
 
             if (chp.hasDelta()) {
                 if (log.isInfoEnabled()) {
-                    float totalDurationInSeconds = 
tracker.checkpointDuration(MILLISECONDS) / 1000.0f;
-                    float avgWriteSpeedInBytes = ((long) pageSize * 
chp.dirtyPagesSize) / totalDurationInSeconds;
+                    long totalDurationInSeconds = 
tracker.checkpointDuration(SECONDS);

Review Comment:
   > which will be equal to 7.81 megabytes per second, looks wrong
   
   How is this wrong if it's right?



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to