Jose Armando Garcia Sancio created KAFKA-12873:
--------------------------------------------------

             Summary: Log truncation due to divergence should also remove 
snapshots
                 Key: KAFKA-12873
                 URL: https://issues.apache.org/jira/browse/KAFKA-12873
             Project: Kafka
          Issue Type: Sub-task
          Components: log
            Reporter: Jose Armando Garcia Sancio


It should not be possible for log truncation to truncate past the 
high-watermark and we know that snapshots are less than the high-watermark.

Having said that I think we should add code that removes any snapshot that is 
greater than the log end offset after a log truncation. Currently the code that 
does log truncation is in `KafkaMetadataLog::truncateTo`.



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

Reply via email to