zhannngchen commented on code in PR #37728:
URL: https://github.com/apache/doris/pull/37728#discussion_r1677421639


##########
fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java:
##########
@@ -790,10 +791,13 @@ private void getDeleteBitmapUpdateLock(Map<Long, 
Set<Long>> tableToParttions, lo
                     cumulativePoints.put(tabletId, 
respCumulativePoints.get(i));
                 }
             }
+            totalRetryTime += retryTime;
         }
         stopWatch.stop();
-        LOG.info("get delete bitmap lock successfully. txns: {}. time cost: {} 
ms.",
-                 transactionId, stopWatch.getTime());
+        LOG.info(

Review Comment:
   The method is called quite frequently, we'd better to print the log only 
when necessary.
   e.g. 
   ```
   if (totalRetryTime > 0 || stopWatch.getTime() > 20) {
       LOG.info(xxx);
   }
   ```



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