Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-750

inconsistent index offset during broker startup

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: log
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              jkreps Jay Kreps
              Reporter:
              junrao Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: