You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "José Armando García Sancio (Jira)" <ji...@apache.org> on 2023/06/12 14:55:00 UTC

[jira] [Resolved] (KAFKA-15076) KRaft should prefer snapshots when listeners are at the start of the log

     [ https://issues.apache.org/jira/browse/KAFKA-15076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

José Armando García Sancio resolved KAFKA-15076.
------------------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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)