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

Recover segment does shallow iteration to fix index causing inconsistencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • None

    Description

      When we recover a segment, we do a shallow iteration to fix the index. This creates entries in the index with the last logical offset in a compressed messageSet. However, during log append we use the starting offset in a compressed message set to populate the index (We changed to starting offset recently). This causes inconsistencies.

      Attachments

        1. KAFKA-866.patch
          2 kB
          Sriram
        2. KAFKA-866-v2.patch
          4 kB
          Sriram

        Activity

          People

            sriramsub Sriram
            sriramsub Sriram
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: