Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka, mail # dev - [jira] [Updated] (KAFKA-950) bytesSinceLastIndexEntry needs to be reset after log segment is truncated


Copy link to this message
-
[jira] [Updated] (KAFKA-950) bytesSinceLastIndexEntry needs to be reset after log segment is truncated
"Jun Rao 2013-06-24, 05:05

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

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

       Resolution: Fixed
    Fix Version/s: 0.8
           Status: Resolved  (was: Patch Available)

Thanks for the review. Committed for 0.8.
                
> 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
>             Fix For: 0.8
>
>         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