This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new 851e278c4df [chore](log) Adjust log level for replaying a batch editlog cost time(#41392) (#42184) 851e278c4df is described below commit 851e278c4df866f22830f5ee2309b4eea10eeb5c Author: Lei Zhang <27994433+swjtu-zhang...@users.noreply.github.com> AuthorDate: Thu Oct 24 13:29:00 2024 +0800 [chore](log) Adjust log level for replaying a batch editlog cost time(#41392) (#42184) * `replay journal cost too much time` is a counter for replaying a batch editlog it is normal that cost too much time, the warning level can make confused ## Proposed changes Issue Number: close #xxx <!--Describe your changes.--> --- fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java index 8f3b7e747b8..e4e97a0eab6 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java +++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java @@ -2988,8 +2988,8 @@ public class Env { } } long cost = System.currentTimeMillis() - startTime; - if (cost >= 1000) { - LOG.warn("replay journal cost too much time: {} replayedJournalId: {}", cost, replayedJournalId); + if (LOG.isDebugEnabled() && cost >= 1000) { + LOG.debug("replay journal cost too much time: {} replayedJournalId: {}", cost, replayedJournalId); } return hasLog; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org