[ 
https://issues.apache.org/jira/browse/ROCKETMQ-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108500#comment-16108500
 ] 

ASF subversion and git services commented on ROCKETMQ-234:
----------------------------------------------------------

Commit d4149207e27ed3516f1f06407b55986790b806ae in incubator-rocketmq's branch 
refs/heads/develop from [~evthoriz]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-rocketmq.git;h=d414920 ]

[ROCKETMQ-234][HOTFIX] Fix Bug, broker will write response twice in batch 
scenario

Author: evthoriz <[email protected]>

Closes #128 from evthoriz/bugfix.

(cherry picked from commit 323eb5cebaf4c50d478afbb4d33d844741e7f403)
Signed-off-by: yukon <[email protected]>


> Bugfix in batch scenario
> ------------------------
>
>                 Key: ROCKETMQ-234
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-234
>             Project: Apache RocketMQ
>          Issue Type: Bug
>          Components: rocketmq-broker
>    Affects Versions: 4.1.0-incubating, 4.2.0-incubating
>            Reporter: Yu Kaiyuan
>            Assignee: yukon
>             Fix For: 4.2.0-incubating
>
>
> Bug in handle batch response. Broker will write response twice to client in 
> batch scenario.
> Details below:
> {code:java}
> private RemotingCommand sendBatchMessage(...)
> {
>     // ignore irrelevant logic...
>     // here in handlePutMessageResult function, reponse will be written back 
> through ctx once
>     handlePutMessageResult(putMessageResult, response, request, 
> messageExtBatch, responseHeader, sendMessageContext, ctx, queueIdInt);
>     // the response returned here will be written back again if response is 
> not null 
>     return response;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to