[ https://issues.apache.org/jira/browse/KAFKA-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13821594#comment-13821594 ]
Jay Kreps commented on KAFKA-1112: ---------------------------------- Actually I am attempting to cover every possible case here, so the only case that should go through is the one where the offset of the final message is recoveryPoint-1 exactly. Notice that the unit test actually runs through 50 cases of random garbage appended to the index so assuming that test is write I think this does work. > broker can not start itself after kafka is killed with -9 > --------------------------------------------------------- > > Key: KAFKA-1112 > URL: https://issues.apache.org/jira/browse/KAFKA-1112 > Project: Kafka > Issue Type: Bug > Components: log > Affects Versions: 0.8, 0.8.1 > Reporter: Kane Kim > Assignee: Jay Kreps > Priority: Critical > Attachments: KAFKA-1112-v1.patch, KAFKA-1112.out > > > When I kill kafka with -9, broker cannot start itself because of corrupted > index logs. I think kafka should try to delete/rebuild indexes itself without > manual intervention. -- This message was sent by Atlassian JIRA (v6.1#6144)