lindzh commented on a change in pull request #129: [ROCKETMQ-239]fix query
message by time and fix get queue offset by time
URL: https://github.com/apache/rocketmq/pull/129#discussion_r156863055
##########
File path: store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java
##########
@@ -151,7 +151,7 @@ public void recover() {
}
}
- public long getOffsetInQueueByTime(final long timestamp) {
+ public long getOffsetInQueueByTime(final long timestamp, boolean
isGetTimeLast) {
MappedFile mappedFile =
this.mappedFileQueue.getMappedFileByTime(timestamp);
Review comment:
Thanks for you advice,I will check it later.If exist i will change it in the
next commit.
----------------------------------------------------------------
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