Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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`.