Fix spelling error in DefaultMessageStore, use getServiceName for GroupCommitService logging (#3663)

This commit is contained in:
cnScarb
2021-12-23 14:26:50 +08:00
committed by GitHub
parent 0bc011cef3
commit f1b2c4f360
2 changed files with 3 additions and 3 deletions
@@ -1228,7 +1228,7 @@ public class CommitLog {
try {
Thread.sleep(10);
} catch (InterruptedException e) {
CommitLog.log.warn("GroupCommitService Exception, ", e);
CommitLog.log.warn(this.getServiceName() + " Exception, ", e);
}
synchronized (this) {
@@ -924,7 +924,7 @@ public class DefaultMessageStore implements MessageStore {
@Override
public void executeDeleteFilesManually() {
this.cleanCommitLogService.excuteDeleteFilesManualy();
this.cleanCommitLogService.executeDeleteFilesManually();
}
@Override
@@ -1590,7 +1590,7 @@ public class DefaultMessageStore implements MessageStore {
private volatile boolean cleanImmediately = false;
public void excuteDeleteFilesManualy() {
public void executeDeleteFilesManually() {
this.manualDeleteFileSeveralTimes = MAX_MANUAL_DELETE_FILE_TIMES;
DefaultMessageStore.log.info("executeDeleteFilesManually was invoked");
}