humkum opened a new issue #4070: URL: https://github.com/apache/rocketmq/issues/4070
**BUG REPORT** Query Message by time failed caused by returning min offset when the target timestamp is larger than the max queue timestamp. 1. Please describe the issue you observed: - What did you do (The steps to reproduce)? When I searched message in BatchCQ by timestamp, if the target timestamp was larger than the max timestamp in CQ unit. I got minimum offset of the BatchCQ, causing offset of the begin time is larger than the end time's. As follows:   - What is expected to see? If the target timestamp is larger than the max timestamp, there need return max offset. - What did you see instead? Return min offset. 2. Please tell us about your environment: 5.0.0-beta -- 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]
