Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-234

Bugfix in batch scenario

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.0-incubating, 4.2.0
    • 4.2.0
    • rocketmq-broker
    • None

    Description

      Bug in handle batch response. Broker will write response twice to client in batch scenario.
      Details below:

      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;
      }
      

      Attachments

        Issue Links

          Activity

            People

              yukon Xinyu Zhou
              evthoriz Yu Kaiyuan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: