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 2013/06/21 06:51:19 UTC

[jira] [Updated] (KAFKA-950) bytesSinceLastIndexEntry needs to be reset after log segment is truncated

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

Jun Rao updated KAFKA-950:
--------------------------

    Attachment: kafka-950.patch
    
> bytesSinceLastIndexEntry needs to be reset after log segment is truncated
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-950
>                 URL: https://issues.apache.org/jira/browse/KAFKA-950
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>         Attachments: kafka-950.patch
>
>
> bytesSinceLastIndexEntry needs to be reset after log segment is truncated. Otherwise, it's possible to add an index entry that points to the first message in a log segment.

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