Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4815 Idempotent/transactional Producer (KIP-98)
  3. KAFKA-5249

Transaction index recovery does not snapshot properly

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0.0
    • None

    Description

      When recovering the transaction index, we should take snapshots of the producer state after recovering each segment. Currently, the snapshot offset is not updated correctly so we will reread the segment multiple times. Additionally, it appears that we do not remove snapshots with offsets higher than the log end offset in all cases upon truncation.

      Attachments

        Issue Links

          Activity

            People

              hachikuji Jason Gustafson
              hachikuji Jason Gustafson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: