Technoboy- commented on a change in pull request #56: [TUBEMQ-73] fix crc32 
checksum in broker & remove duplicate codes
URL: https://github.com/apache/incubator-tubemq/pull/56#discussion_r410577144
 
 

 ##########
 File path: 
tubemq-server/src/main/java/org/apache/tubemq/server/broker/BrokerServiceServer.java
 ##########
 @@ -673,7 +673,7 @@ public SendMessageResponseB2P 
sendMessageP2B(SendMessageRequestP2B request,
             final MessageStore store =
                     this.storeManager.getOrCreateMessageStore(reqTopic, 
partition);
             final long messageId = this.idWorker.nextId();
-            if (store.appendMsg(messageId, dataLength, checkSum, msgData,
+            if (store.appendMsg(messageId, dataLength, request.getCheckSum(), 
msgData,
 
 Review comment:
   I will repost laster

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to