[ https://issues.apache.org/jira/browse/KAFKA-18989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai reassigned KAFKA-18989: -------------------------------------- Assignee: 黃竣陽 (was: Chia-Ping Tsai) > Optimize FileRecord#searchForOffsetWithSize > ------------------------------------------- > > Key: KAFKA-18989 > URL: https://issues.apache.org/jira/browse/KAFKA-18989 > Project: Kafka > Issue Type: Improvement > Reporter: Chia-Ping Tsai > Assignee: 黃竣陽 > Priority: Major > > the `lastOffset` needs to load whole header of batch, so we should check > `baseOffset` instead. this approach is similar to > https://github.com/apache/kafka/pull/17322#discussion_r1807869552 -- This message was sent by Atlassian Jira (v8.20.10#820010)