[
https://issues.apache.org/jira/browse/KAFKA-6530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Gustafson resolved KAFKA-6530.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
> 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)