Skip to content

Commit

Permalink
Merge pull request apache#108 from aCoder2013/feature/correct-spellin…
Browse files Browse the repository at this point in the history
…g-mistake

[ROCKETMQ-207]Correct spelling mistake in RouteInfoManager.java
  • Loading branch information
dongeforever authored Oct 11, 2017
2 parents e8900a8 + eabe47f commit dc4f368
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public ConsumeMessageDirectlyResult consumeMessageDirectly(MessageExt msg, Strin

final long beginTime = System.currentTimeMillis();

log.info("consumeMessageDirectly receive new messge: {}", msg);
log.info("consumeMessageDirectly receive new message: {}", msg);

try {
ConsumeConcurrentlyStatus status = this.messageListener.consumeMessage(msgs, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public ConsumeMessageDirectlyResult consumeMessageDirectly(MessageExt msg, Strin

final long beginTime = System.currentTimeMillis();

log.info("consumeMessageDirectly receive new messge: {}", msg);
log.info("consumeMessageDirectly receive new message: {}", msg);

try {
ConsumeOrderlyStatus status = this.messageListener.consumeMessage(msgs, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public RegisterBrokerResult registerBroker(
channel,
haServerAddr));
if (null == prevBrokerLiveInfo) {
log.info("new broker registerd, {} HAServer: {}", brokerAddr, haServerAddr);
log.info("new broker registered, {} HAServer: {}", brokerAddr, haServerAddr);
}

if (filterServerList != null) {
Expand Down Expand Up @@ -205,7 +205,7 @@ private void createAndUpdateQueueData(final String brokerName, final TopicConfig
queueDataList = new LinkedList<QueueData>();
queueDataList.add(queueData);
this.topicQueueTable.put(topicConfig.getTopicName(), queueDataList);
log.info("new topic registerd, {} {}", topicConfig.getTopicName(), queueData);
log.info("new topic registered, {} {}", topicConfig.getTopicName(), queueData);
} else {
boolean addNewOne = true;

Expand Down
14 changes: 7 additions & 7 deletions store/src/main/java/org/apache/rocketmq/store/CommitLog.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ else if (dispatchRequest.isSuccess() && size == 0) {
index++;
if (index >= mappedFiles.size()) {
// Current branch can not happen
log.info("recover last 3 physics file over, last maped file " + mappedFile.getFileName());
log.info("recover last 3 physics file over, last mapped file " + mappedFile.getFileName());
break;
} else {
mappedFile = mappedFiles.get(index);
Expand Down Expand Up @@ -403,7 +403,7 @@ public void recoverAbnormally() {
for (; index >= 0; index--) {
mappedFile = mappedFiles.get(index);
if (this.isMappedFileMatchedRecover(mappedFile)) {
log.info("recover from this maped file " + mappedFile.getFileName());
log.info("recover from this mapped file " + mappedFile.getFileName());
break;
}
}
Expand Down Expand Up @@ -445,7 +445,7 @@ else if (size == 0) {
if (index >= mappedFiles.size()) {
// The current branch under normal circumstances should
// not happen
log.info("recover physics file over, last maped file " + mappedFile.getFileName());
log.info("recover physics file over, last mapped file " + mappedFile.getFileName());
break;
} else {
mappedFile = mappedFiles.get(index);
Expand Down Expand Up @@ -571,7 +571,7 @@ public PutMessageResult putMessage(final MessageExtBrokerInner msg) {
mappedFile = this.mappedFileQueue.getLastMappedFile(0); // Mark: NewFile may be cause noise
}
if (null == mappedFile) {
log.error("create maped file1 error, topic: " + msg.getTopic() + " clientAddr: " + msg.getBornHostString());
log.error("create mapped file1 error, topic: " + msg.getTopic() + " clientAddr: " + msg.getBornHostString());
beginTimeInLock = 0;
return new PutMessageResult(PutMessageStatus.CREATE_MAPEDFILE_FAILED, null);
}
Expand All @@ -586,7 +586,7 @@ public PutMessageResult putMessage(final MessageExtBrokerInner msg) {
mappedFile = this.mappedFileQueue.getLastMappedFile(0);
if (null == mappedFile) {
// XXX: warn and notify me
log.error("create maped file2 error, topic: " + msg.getTopic() + " clientAddr: " + msg.getBornHostString());
log.error("create mapped file2 error, topic: " + msg.getTopic() + " clientAddr: " + msg.getBornHostString());
beginTimeInLock = 0;
return new PutMessageResult(PutMessageStatus.CREATE_MAPEDFILE_FAILED, result);
}
Expand Down Expand Up @@ -721,7 +721,7 @@ public PutMessageResult putMessages(final MessageExtBatch messageExtBatch) {
mappedFile = this.mappedFileQueue.getLastMappedFile(0); // Mark: NewFile may be cause noise
}
if (null == mappedFile) {
log.error("Create maped file1 error, topic: {} clientAddr: {}", messageExtBatch.getTopic(), messageExtBatch.getBornHostString());
log.error("Create mapped file1 error, topic: {} clientAddr: {}", messageExtBatch.getTopic(), messageExtBatch.getBornHostString());
beginTimeInLock = 0;
return new PutMessageResult(PutMessageStatus.CREATE_MAPEDFILE_FAILED, null);
}
Expand All @@ -736,7 +736,7 @@ public PutMessageResult putMessages(final MessageExtBatch messageExtBatch) {
mappedFile = this.mappedFileQueue.getLastMappedFile(0);
if (null == mappedFile) {
// XXX: warn and notify me
log.error("Create maped file2 error, topic: {} clientAddr: {}", messageExtBatch.getTopic(), messageExtBatch.getBornHostString());
log.error("Create mapped file2 error, topic: {} clientAddr: {}", messageExtBatch.getTopic(), messageExtBatch.getBornHostString());
beginTimeInLock = 0;
return new PutMessageResult(PutMessageStatus.CREATE_MAPEDFILE_FAILED, result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void recover() {
index++;
if (index >= mappedFiles.size()) {

log.info("recover last consume queue file over, last maped file "
log.info("recover last consume queue file over, last mapped file "
+ mappedFile.getFileName());
break;
} else {
Expand Down

0 comments on commit dc4f368

Please sign in to comment.