Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.