caiconghui commented on code in PR #21996:
URL: https://github.com/apache/doris/pull/21996#discussion_r1271897612


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/Table.java:
##########
@@ -162,11 +162,15 @@ public boolean tryReadLock(long timeout, TimeUnit unit) {
     }
 
     public void readUnlock() {
+        long nanoTime = System.nanoTime();
         this.rwLock.readLock().unlock();
+        LOG.debug("table {} get read lock spent {} ms", getId(), (nanoTime - 
System.nanoTime()) / 1000000L);

Review Comment:
   should not  add time cost caculate here? especial for doris release version? 



-- 
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: commits-unsubscr...@doris.apache.org

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


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

Reply via email to