[ 
https://issues.apache.org/jira/browse/KAFKA-12908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17366100#comment-17366100
 ] 

dengziming commented on KAFKA-12908:
------------------------------------

This may be depend on KAFKA-12155

> Load snapshot heuristic
> -----------------------
>
>                 Key: KAFKA-12908
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12908
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Jose Armando Garcia Sancio
>            Assignee: dengziming
>            Priority: Minor
>
> The {{KafkaRaftCient}} implementation only forces the {{RaftClient.Listener}} 
> to load a snapshot only when the listener's next offset is less than the 
> start offset.
> This is technically correct but in some cases it may be more efficient to 
> load a snapshot even when the next offset exists in the log. This is clearly 
> true when the latest snapshot has less entries than the number of records 
> from the next offset to the latest snapshot.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to