rohangarg commented on code in PR #14453:
URL: https://github.com/apache/druid/pull/14453#discussion_r1234988339


##########
sql/src/main/java/org/apache/druid/sql/calcite/schema/SegmentMetadataCache.java:
##########
@@ -403,6 +403,13 @@ public void start() throws InterruptedException
   @VisibleForTesting
   void refresh(final Set<SegmentId> segmentsToRefresh, final Set<String> 
dataSourcesToRebuild) throws IOException
   {
+    long startMillis = System.currentTimeMillis();

Review Comment:
   since that is always monotonically increasing in a JVM's lifetime, I don't 
think `currentTimeMillis` is, since it comes from the system time.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to