You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Dhruvil Shah (JIRA)" <ji...@apache.org> on 2018/03/06 23:43:00 UTC

[jira] [Assigned] (KAFKA-6530) Use actual first offset of messages when rolling log segment for magic v2

     [ https://issues.apache.org/jira/browse/KAFKA-6530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dhruvil Shah reassigned KAFKA-6530:
-----------------------------------

    Assignee: Dhruvil Shah

> 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
>
> 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)