RockteMQ-AI commented on issue #10878: URL: https://github.com/apache/rocketmq/issues/10878#issuecomment-5229874593
**Issue Evaluation** Category: `type/bug` | Status: **Confirmed** The reported issue has been verified against the current codebase at commit `fd0c959`. **Root Cause:** `FlatAppendFile.readAsync` combines at most two segments (the one containing the start offset and the immediately following segment). A read spanning three or more committed file segments silently returns only the first two portions. **Impact:** Store layer — consume-queue reads that span multiple segments will return incomplete data, potentially causing message consumption gaps. **Severity:** high The read logic needs to iterate across all overlapping segments, not just the first two. --- *Automated evaluation by github-manager-bot* -- 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]
