kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yang Ye (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-577) extend DumpLogSegments to verify consistency btw data and index
Date Fri, 02 Nov 2012 02:40:12 GMT

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

Yang Ye updated KAFKA-577:
--------------------------

    Attachment: kafka_577_v4.diff


1. also "do it in batch" for dumpLog() function

2. use scala HashMap instead of Pool

3. Use LinkedList in the right way
                
> extend DumpLogSegments to verify consistency btw data and index
> ---------------------------------------------------------------
>
>                 Key: KAFKA-577
>                 URL: https://issues.apache.org/jira/browse/KAFKA-577
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>              Labels: newbie, tools
>             Fix For: 0.8
>
>         Attachments: kafka_577_v1.diff, kafka_577_v2.diff, kafka_577_v3.diff, kafka_577_v4.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> It would be good to extend DumpLogSegments to do the following verification:
> 1. The offsets stored in the index match those in the log data.
> 2. The offsets in the data log is consecutive.

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

Mime
View raw message