You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Sriram Subramanian (JIRA)" <ji...@apache.org> on 2013/06/21 07:00:24 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13690036#comment-13690036 ] 

Sriram Subramanian commented on KAFKA-950:
------------------------------------------

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