[ https://issues.apache.org/jira/browse/KAFKA-12205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17275793#comment-17275793 ]
dengziming commented on KAFKA-12205: ------------------------------------ Here is my understanding about when to delete a snapshot, first is when `KafkaRaftClient.pollCurrentState`, the second is when a follower complete fetching snapshot. is that right? [~jsancio] > Delete snapshots if it's end offset is less than the log start offset > --------------------------------------------------------------------- > > Key: KAFKA-12205 > URL: https://issues.apache.org/jira/browse/KAFKA-12205 > Project: Kafka > Issue Type: Sub-task > Components: replication > Reporter: Jose Armando Garcia Sancio > Priority: Major > > Note that when implementing this, the oldestSnapshotId is tracked as a > variable in KafkaMetadataLog. I think that we can remove this variable when > we implement this work. -- This message was sent by Atlassian Jira (v8.3.4#803005)