未验证 提交 ba5e0e52 编写于 作者: Z ZingBug 提交者: GitHub

[ISSUE #2272] Fix spelling mistakes

上级 f07bc79d
...@@ -280,7 +280,7 @@ public class ConsumeMessageOrderlyService implements ConsumeMessageService { ...@@ -280,7 +280,7 @@ public class ConsumeMessageOrderlyService implements ConsumeMessageService {
case SUSPEND_CURRENT_QUEUE_A_MOMENT: case SUSPEND_CURRENT_QUEUE_A_MOMENT:
this.getConsumerStatsManager().incConsumeFailedTPS(consumerGroup, consumeRequest.getMessageQueue().getTopic(), msgs.size()); this.getConsumerStatsManager().incConsumeFailedTPS(consumerGroup, consumeRequest.getMessageQueue().getTopic(), msgs.size());
if (checkReconsumeTimes(msgs)) { if (checkReconsumeTimes(msgs)) {
consumeRequest.getProcessQueue().makeMessageToCosumeAgain(msgs); consumeRequest.getProcessQueue().makeMessageToConsumeAgain(msgs);
this.submitConsumeRequestLater( this.submitConsumeRequestLater(
consumeRequest.getProcessQueue(), consumeRequest.getProcessQueue(),
consumeRequest.getMessageQueue(), consumeRequest.getMessageQueue(),
...@@ -312,7 +312,7 @@ public class ConsumeMessageOrderlyService implements ConsumeMessageService { ...@@ -312,7 +312,7 @@ public class ConsumeMessageOrderlyService implements ConsumeMessageService {
case SUSPEND_CURRENT_QUEUE_A_MOMENT: case SUSPEND_CURRENT_QUEUE_A_MOMENT:
this.getConsumerStatsManager().incConsumeFailedTPS(consumerGroup, consumeRequest.getMessageQueue().getTopic(), msgs.size()); this.getConsumerStatsManager().incConsumeFailedTPS(consumerGroup, consumeRequest.getMessageQueue().getTopic(), msgs.size());
if (checkReconsumeTimes(msgs)) { if (checkReconsumeTimes(msgs)) {
consumeRequest.getProcessQueue().makeMessageToCosumeAgain(msgs); consumeRequest.getProcessQueue().makeMessageToConsumeAgain(msgs);
this.submitConsumeRequestLater( this.submitConsumeRequestLater(
consumeRequest.getProcessQueue(), consumeRequest.getProcessQueue(),
consumeRequest.getMessageQueue(), consumeRequest.getMessageQueue(),
......
...@@ -348,12 +348,6 @@ public class DefaultMQPushConsumerImpl implements MQConsumerInner { ...@@ -348,12 +348,6 @@ public class DefaultMQPushConsumerImpl implements MQConsumerInner {
break; break;
case NO_NEW_MSG: case NO_NEW_MSG:
pullRequest.setNextOffset(pullResult.getNextBeginOffset());
DefaultMQPushConsumerImpl.this.correctTagsOffset(pullRequest);
DefaultMQPushConsumerImpl.this.executePullRequestImmediately(pullRequest);
break;
case NO_MATCHED_MSG: case NO_MATCHED_MSG:
pullRequest.setNextOffset(pullResult.getNextBeginOffset()); pullRequest.setNextOffset(pullResult.getNextBeginOffset());
......
...@@ -280,7 +280,7 @@ public class ProcessQueue { ...@@ -280,7 +280,7 @@ public class ProcessQueue {
return -1; return -1;
} }
public void makeMessageToCosumeAgain(List<MessageExt> msgs) { public void makeMessageToConsumeAgain(List<MessageExt> msgs) {
try { try {
this.lockTreeMap.writeLock().lockInterruptibly(); this.lockTreeMap.writeLock().lockInterruptibly();
try { try {
......
...@@ -194,7 +194,7 @@ public class PullAPIWrapper { ...@@ -194,7 +194,7 @@ public class PullAPIWrapper {
String brokerAddr = findBrokerResult.getBrokerAddr(); String brokerAddr = findBrokerResult.getBrokerAddr();
if (PullSysFlag.hasClassFilterFlag(sysFlagInner)) { if (PullSysFlag.hasClassFilterFlag(sysFlagInner)) {
brokerAddr = computPullFromWhichFilterServer(mq.getTopic(), brokerAddr); brokerAddr = computePullFromWhichFilterServer(mq.getTopic(), brokerAddr);
} }
PullResult pullResult = this.mQClientFactory.getMQClientAPIImpl().pullMessage( PullResult pullResult = this.mQClientFactory.getMQClientAPIImpl().pullMessage(
...@@ -223,7 +223,7 @@ public class PullAPIWrapper { ...@@ -223,7 +223,7 @@ public class PullAPIWrapper {
return MixAll.MASTER_ID; return MixAll.MASTER_ID;
} }
private String computPullFromWhichFilterServer(final String topic, final String brokerAddr) private String computePullFromWhichFilterServer(final String topic, final String brokerAddr)
throws MQClientException { throws MQClientException {
ConcurrentMap<String, TopicRouteData> topicRouteTable = this.mQClientFactory.getTopicRouteTable(); ConcurrentMap<String, TopicRouteData> topicRouteTable = this.mQClientFactory.getTopicRouteTable();
if (topicRouteTable != null) { if (topicRouteTable != null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册