mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-24 16:04:00 +08:00
Fix spelling error in DefaultMessageStore, use getServiceName for GroupCommitService logging (#3663)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user