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

KRaft should prefer snapshots when listeners are at the start of the log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.6.0
    • kraft
    • None

    Description

      If the KRaft log has a segment/record batch  at offset 0 it will send that batch in Listener.handleCommit even if there is a snapshot that contains that record batch. It is more efficient to have the Listener start with a handleSnapshot if a snapshot exist.

      Attachments

        Issue Links

          Activity

            People

              jsancio José Armando García Sancio
              jsancio José Armando García Sancio
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: