ShadowySpirits opened a new issue, #5626: URL: https://github.com/apache/rocketmq/issues/5626
When I enable broker metrics I found this error in store.log: ``` selectMappedBuffer request pos invalid, request pos: 0, size: 8388608, fileFromoffset: 0 ``` It is because DefaultMessageStore#getEarliestMessageTime tries to get a buffer of 2 * max message size which defaults to 8M. In the corner case, I have some tiny messages which together are less than 8M, so I get this error. IMO, 8M is too large in this use case, and We should check offset before getting store time. -- 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]
