José Armando García Sancio created KAFKA-15076:
--------------------------------------------------

             Summary: KRaft should prefer snapshots when listeners are at the 
start of the log
                 Key: KAFKA-15076
                 URL: https://issues.apache.org/jira/browse/KAFKA-15076
             Project: Kafka
          Issue Type: Improvement
          Components: kraft
            Reporter: José Armando García Sancio
            Assignee: José Armando García Sancio
             Fix For: 3.6.0


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to