You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/01/10 07:57:58 UTC

[GitHub] Ah39 opened a new issue #678: StoreCheckpoint setLogicsMsgTimestamp dont work right , may cause message loss

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:
users@infra.apache.org


With regards,
Apache Git Services