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

extend DumpLogSegments to verify consistency btw data and index

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: core
    • Labels:

      Description

      It would be good to extend DumpLogSegments to do the following verification:
      1. The offsets stored in the index match those in the log data.
      2. The offsets in the data log is consecutive.

        Attachments

        1. kafka_577_v1.diff
          2 kB
          Yang Ye
        2. kafka_577_v2.diff
          4 kB
          Yang Ye
        3. kafka_577_v3.diff
          4 kB
          Yang Ye
        4. kafka_577_v4.diff
          6 kB
          Yang Ye
        5. kafka_577_v5.diff
          7 kB
          Yang Ye
        6. kafka_577_v6.diff
          7 kB
          Yang Ye

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              junrao Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified