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

nextOffsetMetadata should be changed after rolling a new log segment

    XMLWordPrintableJSON

    Details

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

      Description

      When we roll a new log segment (Log.roll()), even though the next offset doesn't change, the associated metadata (segment base offset and relative position) will change. So, we need to update nextOffsetMetadata when rolling a new log segment.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: