gavinchou commented on code in PR #42184:
URL: https://github.com/apache/doris/pull/42184#discussion_r1809115907
##########
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java:
##########
@@ -2988,8 +2988,8 @@ public synchronized boolean replayJournal(long
toJournalId) {
}
}
long cost = System.currentTimeMillis() - startTime;
- if (cost >= 1000) {
- LOG.warn("replay journal cost too much time: {} replayedJournalId:
{}", cost, replayedJournalId);
+ if (LOG.isDebugEnabled() && cost >= 1000) {
Review Comment:
we may need to print the sum of each duration taken by the replay process.
--
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]