[ https://issues.apache.org/jira/browse/KAFKA-750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neha Narkhede closed KAFKA-750. ------------------------------- > inconsistent index offset during broker startup > ----------------------------------------------- > > Key: KAFKA-750 > URL: https://issues.apache.org/jira/browse/KAFKA-750 > Project: Kafka > Issue Type: Bug > Components: log > Affects Versions: 0.8 > Reporter: Jun Rao > Assignee: Jay Kreps > Priority: Blocker > Labels: bugs, p1 > Fix For: 0.8 > > > Saw the following log during a clean restart of a broker. > 2013/01/29 19:18:12.073 INFO [FileMessageSet] [main] [kafka] [] Creating or > reloading log segment > /export/content/kafka/i001_caches/topic1-3/00000000000000000000.log2013/01/29 > 19:18:12.074 INFO [OffsetIndex] [main] [kafka] [] Created index file > /export/content/kafka/i001_caches/topic1-3/00000000000000000000.index with > maxEntries = 65 > 5360, maxIndexSize = 10485760, entries = 655360, lastOffset = 0 > A couple of things are weird. > 1. There are entries in the index, but lastOffset is 0. > 2 maxIndexSize/manxEntries = 16, instead of 8. -- 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