[ https://issues.apache.org/jira/browse/KAFKA-18522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17922512#comment-17922512 ]
Jun Rao commented on KAFKA-18522: --------------------------------- [~apoorvmittal10] : Thanks for finding this. I think this is a bug introduced in [https://github.com/apache/kafka/pull/5332/files.] So far, the bug is not exposed yet since we only create a sliced FileRecords from an unsliced FileRecords, whose start is always 0. This will break if a sliced FileRecords can be created from another sliced FileRecords. > Limit fetch records batches as per acquired records > --------------------------------------------------- > > Key: KAFKA-18522 > URL: https://issues.apache.org/jira/browse/KAFKA-18522 > Project: Kafka > Issue Type: Sub-task > Reporter: Apoorv Mittal > Assignee: Apoorv Mittal > Priority: Major > Attachments: image-2025-01-30-11-53-46-496.png > > > [https://github.com/apache/kafka/pull/17322#discussion_r1803823292] > > https://github.com/apache/kafka/pull/18459/files#r1913905321 -- This message was sent by Atlassian Jira (v8.20.10#820010)