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


##########
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:
   Thanks for the feedback. `nanoTime` seems like the better option for 
measuring elapsed duration. 



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