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

Incorrect index in the log of a follower

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • core
    • None

    Description

      In the follower, in log.append(), we use the offset of the 1st compressed message as the offset for appending index entries. This means that the index is pointing to an earlier position in the file than it should. Instead, it should use the offset of the 1st uncompressed message for appending index.

      Attachments

        1. kafka-804.patch
          5 kB
          Jun Rao

        Activity

          People

            junrao Jun Rao
            junrao Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: