You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/05/11 09:58:14 UTC

[GitHub] [ignite-3] tkalkirill commented on a diff in pull request #800: IGNITE-16898 [Native Persistence 3.0] Porting a checkpoint and related code, part 2

tkalkirill commented on code in PR #800:
URL: https://github.com/apache/ignite-3/pull/800#discussion_r870109791


##########
modules/core/src/main/java/org/apache/ignite/internal/util/FastTimestamps.java:
##########
@@ -31,10 +31,11 @@ public class FastTimestamps {
 
     private static void startUpdater() {
         Thread updater = new Thread("FastTimestamps updater") {
+            /** {@inheritDoc} */
             @Override
             public void run() {
                 while (true) {
-                    coarseCurrentTimeMillis = System.currentTimeMillis();
+                    coarseCurrentTimeMillis = Math.max(coarseCurrentTimeMillis, System.currentTimeMillis());

Review Comment:
   Rolled back.



-- 
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-unsubscribe@ignite.apache.org

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