Kafka
  1. Kafka
  2. KAFKA-577

extend DumpLogSegments to verify consistency btw data and index

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      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

        Jun Rao made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jun Rao made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Yang Ye made changes -
        Attachment kafka_577_v6.diff [ 12552165 ]
        Yang Ye made changes -
        Attachment kafka_577_v5.diff [ 12551949 ]
        Yang Ye made changes -
        Attachment kafka_577_v4.diff [ 12551811 ]
        Yang Ye made changes -
        Attachment kafka_577_v3.diff [ 12551692 ]
        Jun Rao made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Jun Rao made changes -
        Comment [ +1 on patch v6. Committed to 0.8. ]
        Jun Rao made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.8 [ 12317244 ]
        Resolution Fixed [ 1 ]
        Yang Ye made changes -
        Attachment kafka_577_v2.diff [ 12551249 ]
        Yang Ye made changes -
        Field Original Value New Value
        Attachment kafka_577_v1.diff [ 12550926 ]
        Jun Rao created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            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

                Development