lizhanhui commented on code in PR #6571:
URL: https://github.com/apache/rocketmq/pull/6571#discussion_r1163955750
##########
store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:
##########
@@ -809,10 +818,11 @@ private MappedFile searchTimeFromFiles(long timestamp) {
}
/**
- * Find the offset of which the value is equal or larger than the given
targetValue.
- * If there are many values equal to the target, then find the earliest
one.
+ * Find the offset of which the value is equal or larger than the given
targetValue. If there are many values equal
Review Comment:
As you are changing the doc, let's make it proper:
If there are multiple values equal to the target, return the earliest one.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]