[ https://issues.apache.org/jira/browse/KAFKA-6530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16403560#comment-16403560 ]
Dhruvil Shah commented on KAFKA-6530: ------------------------------------- Thanks! On Sat, Mar 17, 2018 at 10:31 AM Jason Gustafson (JIRA) <j...@apache.org> > Use actual first offset of messages when rolling log segment for magic v2 > ------------------------------------------------------------------------- > > Key: KAFKA-6530 > URL: https://issues.apache.org/jira/browse/KAFKA-6530 > Project: Kafka > Issue Type: Bug > Reporter: Jason Gustafson > Assignee: Dhruvil Shah > Priority: Major > Fix For: 1.2.0 > > > We've implemented a heuristic to avoid overflowing when rolling a log segment > to determine the base offset of the next segment without decompressing the > message set to find the actual first offset. With the v2 message format, we > can find the first offset without needing decompression, so we can set the > correct base offset exactly. -- This message was sent by Atlassian JIRA (v7.6.3#76005)