kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Kreps (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-561) Rebuild index file for a log segment if there is none
Date Mon, 03 Mar 2014 17:39:22 GMT

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

Jay Kreps updated KAFKA-561:

    Issue Type: Improvement  (was: New Feature)

> Rebuild index file for a log segment if there is none
> -----------------------------------------------------
>                 Key: KAFKA-561
>                 URL: https://issues.apache.org/jira/browse/KAFKA-561
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Jay Kreps
>            Assignee: Jay Kreps
>             Fix For: 0.8.1
> There are two ways an index file could be missing:
> 1. Someone could delete it or it could be lost due to file corruption
> 2. The server could crash in the middle of rolling the log after having created the new
log segment but before having created the corresponding index segment.
> Regardless it would be nice to recover gracefully from this and rebuild the index segment
off the corresponding log segment if this happened. This will be slow.
> This should be done after KAFKA-521.

This message was sent by Atlassian JIRA

View raw message