accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [accumulo] milleruntime commented on issue #1442: Change MasterTime to use currentTimeMillis. Fixes #1355
Date Mon, 25 Nov 2019 17:28:15 GMT
milleruntime commented on issue #1442: Change MasterTime to use currentTimeMillis. Fixes #1355
URL: https://github.com/apache/accumulo/pull/1442#issuecomment-558258330
 
 
   > > I don't see why we would want to use nano time over currentTimeMillis.
   > 
   > System.currentTimeMillis can go backwards (if someone resets the time on a machine).
Differences computed by System.nanoTime will always increase, even if someone resets the time
on the machine. This code seems primarily concerned about the deltas and does not care about
absolute times.
   
   OK I see. And I now see that it is only used for tracking tablet suspension.  The javadoc
comments were misleading to me. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message