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/12/12 18:52:19 UTC
[jira] [Updated] (KAFKA-670) Cleanup spurious .index files if
present in the log directory on initialization
[ https://issues.apache.org/jira/browse/KAFKA-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jay Kreps updated KAFKA-670:
----------------------------
Priority: Blocker (was: Major)
> Cleanup spurious .index files if present in the log directory on initialization
> -------------------------------------------------------------------------------
>
> Key: KAFKA-670
> URL: https://issues.apache.org/jira/browse/KAFKA-670
> Project: Kafka
> Issue Type: Bug
> Reporter: Jay Kreps
> Assignee: Jay Kreps
> Priority: Blocker
>
> It is possible that an index file could somehow be left on the filesystem with no corresponding log file. This is not currently handled well. If the .index file happens to fall on the same offset as a new log segment, then when that segment is created terrible things will happen.
> We should check this condition on initialization and add some unit tests against it.
--
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