* `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.-->
This commit is contained in:
@ -2870,8 +2870,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;
|
||||
|
||||
Reference in New Issue
Block a user