Ah39 opened a new issue #678: StoreCheckpoint setLogicsMsgTimestamp dont work 
right , may cause message loss 
URL: https://github.com/apache/rocketmq/issues/678
 
 
   setLogicsMsgTimestamp  have the two place .
   In the putMessagePositionInfoWrapper set is not ok . What if the consumer 
queue file dont flush success 
   when os down. so the message may loss 
   
   
https://github.com/apache/rocketmq/blob/f8a67adde7ce4c1cf6b8e7a0d1d9a1f1aaddbf30/store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java#L397-L402
   
   FlushConsumeQueueService do not  set the logicsMsgTimestamp right .
   
https://github.com/apache/rocketmq/blob/f8a67adde7ce4c1cf6b8e7a0d1d9a1f1aaddbf30/store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java#L1655-L1680

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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