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

DumpLogSegment offset verification is incorrect for compressed messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • core

    Description

      During verification, DumpLogSegment tries to make sure that offsets are consecutive. However, this won't be true for compressed messages since FileMessageSet only does shallow iteration. The simplest fix is to skip the verification for compressed messages.

      Attachments

        1. kafka_614_v1.patch
          0.9 kB
          Yang Ye
        2. dump_fix.diff
          3 kB
          Yang Ye

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: