Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0-incubating, 4.2.0
    • Fix Version/s: 4.2.0
    • Component/s: rocketmq-broker
    • Labels:
      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

              • Assignee:
                Yukon yukon
                Reporter:
                evthoriz Yu Kaiyuan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: