You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jay Kreps (JIRA)" <ji...@apache.org> on 2012/10/09 23:48:02 UTC
[jira] [Created] (KAFKA-561) Rebuild index file for a log segment
if there is none
Jay Kreps created KAFKA-561:
-------------------------------
Summary: 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: New Feature
Reporter: Jay Kreps
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 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