You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2013/02/05 01:34:12 UTC

[jira] [Created] (KAFKA-750) inconsistent index offset during broker startup

Jun Rao created KAFKA-750:
-----------------------------

             Summary: 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


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