reachfish commented on issue #1153: slave broker not set checkpoint's physicMsgTimestamp URL: https://github.com/apache/rocketmq/issues/1153#issuecomment-482538299 for slave broker: CommitLog.appendData(long startOffset, byte[] data) => MappFile.appendMessage(final byte[] data) then MappedFile.storeTimestamp is always 0 => MappedFileQueue's storeTimestamp is always 0 => checkpoint's physicMsgTimestamp is always 0. maybe in function MappFile.appendMessage(final byte[] data) , we can set storeTimestamp = Math.max(storeTimestamp, System.currentTimeMillis() - 30 * 1000). something like this ?
---------------------------------------------------------------- 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
