Skip to content

Commit

Permalink
[ROCKETMQ-234][HOTFIX] Fix Bug, broker will write response twice in b…
Browse files Browse the repository at this point in the history
…atch scenario

Author: evthoriz <evthoriz@gmail.com>

Closes #128 from evthoriz/bugfix.

(cherry picked from commit 323eb5c)
Signed-off-by: yukon <yukon@apache.org>
  • Loading branch information
evthoriz authored and zhouxinyu committed Jun 29, 2017
1 parent c297258 commit d414920
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -532,8 +532,7 @@ private RemotingCommand sendBatchMessage(final ChannelHandlerContext ctx, //

PutMessageResult putMessageResult = this.brokerController.getMessageStore().putMessages(messageExtBatch);

handlePutMessageResult(putMessageResult, response, request, messageExtBatch, responseHeader, sendMessageContext, ctx, queueIdInt);
return response;
return handlePutMessageResult(putMessageResult, response, request, messageExtBatch, responseHeader, sendMessageContext, ctx, queueIdInt);
}

public boolean hasConsumeMessageHook() {
Expand Down

0 comments on commit d414920

Please sign in to comment.