Divij Vaidya created KAFKA-17995:
------------------------------------
Summary: Large value for `retention.ms` could prevent remote data
cleanup in Tiered Storage
Key: KAFKA-17995
URL: https://issues.apache.org/jira/browse/KAFKA-17995
Project: Kafka
Issue Type: Bug
Components: Tiered-Storage
Affects Versions: 3.8.1
Reporter: Divij Vaidya
If a user has configured value of "retention.ms" to a value > current epoch,
then at this line of code, cleanupUntilMs becomes negative. This is because
cleanupUntilMs is calculated as current epoch - retention.ms [1].
This leads to cleaner failures at
[https://github.com/apache/kafka/blob/5a5239770ff3565233e5cbecf11446e76339f8fe/core/src/main/java/kafka/log/remote/RemoteLogManager.java#L2218]
and hence, all cleaning stops.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)