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