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

inconsistent index offset during broker startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 0.8.0
    • 0.8.0
    • log

    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

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

            Dates

              Created:
              Updated:
              Resolved: