You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2012/11/29 01:11:58 UTC

[jira] [Commented] (KAFKA-614) DumpLogSegment offset verification is incorrect for compressed messages

    [ https://issues.apache.org/jira/browse/KAFKA-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506070#comment-13506070 ] 

Jun Rao commented on KAFKA-614:
-------------------------------

Thanks for the second patch. 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: dump_fix.diff, 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