Jose Armando Garcia Sancio created KAFKA-12908:
--------------------------------------------------
Summary: 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
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)