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

Jun Rao resolved KAFKA-614.
---------------------------

       Resolution: Fixed
    Fix Version/s: 0.8

Thanks for the patch. +1 and committed to 0.8.
                
> DumpLogSegment offset verification is incorrect for compressed messages
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-614
>                 URL: https://issues.apache.org/jira/browse/KAFKA-614
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>              Labels: newbie
>             Fix For: 0.8
>
>         Attachments: kafka_614_v1.patch
>
>
> During verification, DumpLogSegment tries to make sure that offsets are 
> consecutive. However, this won't be true for compressed messages since 
> FileMessageSet only does shallow iteration. The simplest fix is to skip the 
> verification for compressed messages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to