Kafka
  1. Kafka
  2. KAFKA-950

bytesSinceLastIndexEntry needs to be reset after log segment is truncated

    Details

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

      Description

      bytesSinceLastIndexEntry needs to be reset after log segment is truncated. Otherwise, it's possible to add an index entry that points to the first message in a log segment.

        Activity

        Jun Rao created issue -
        Jun Rao made changes -
        Field Original Value New Value
        Attachment kafka-950.patch [ 12588998 ]
        Hide
        Jun Rao added a comment -

        Attach a patch.

        Show
        Jun Rao added a comment - Attach a patch.
        Jun Rao made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Sriram Subramanian added a comment -

        +1

        Show
        Sriram Subramanian added a comment - +1
        Hide
        Jun Rao added a comment -

        Thanks for the review. Committed for 0.8.

        Show
        Jun Rao added a comment - Thanks for the review. Committed for 0.8.
        Jun Rao made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.8 [ 12317244 ]
        Resolution Fixed [ 1 ]
        Tony Stevenson made changes -
        Workflow no-reopen-closed, patch-avail [ 12794421 ] Apache Kafka Workflow [ 13052600 ]
        Tony Stevenson made changes -
        Workflow Apache Kafka Workflow [ 13052600 ] no-reopen-closed, patch-avail [ 13054890 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        1m 7s 1 Jun Rao 21/Jun/13 05:50
        Patch Available Patch Available Resolved Resolved
        3d 14m 1 Jun Rao 24/Jun/13 06:04

          People

          • Assignee:
            Jun Rao
            Reporter:
            Jun Rao
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development