andyvuong commented on a change in pull request #1208: SOLR-13101: Convert 
nanotime to ms
URL: https://github.com/apache/lucene-solr/pull/1208#discussion_r370891913
 
 

 ##########
 File path: 
solr/core/src/java/org/apache/solr/store/blob/metadata/CorePushPull.java
 ##########
 @@ -114,7 +114,7 @@ protected CoreContainer 
getContainerFromServerMetadata(ServerSideMetadata solrSe
      * @param newMetadataSuffix suffix of the new core.metadata file to be 
created as part of this push
      */
     public BlobCoreMetadata pushToBlobStore(String currentMetadataSuffix, 
String newMetadataSuffix) throws Exception {
-      long startTimeMs = System.nanoTime();
+      long startTimeMs = System.nanoTime() / 1000000;
 
 Review comment:
   I'd consider making System.nanoTime() / 1000000 a util method in 
BlobStoreUtils

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to