[
https://issues.apache.org/jira/browse/KAFKA-12873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17369489#comment-17369489
]
HaiyuanZhao commented on KAFKA-12873:
-------------------------------------
Hi, [~jagsancio]
I would like to take this if this issue is still open
> 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
> Priority: Major
>
> 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)