You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Bob Barrett (JIRA)" <ji...@apache.org> on 2018/09/11 16:56:00 UTC

[jira] [Created] (KAFKA-7400) Compacted topic segments that precede the log start offset are not cleaned up

Bob Barrett created KAFKA-7400:
----------------------------------

             Summary: Compacted topic segments that precede the log start offset are not cleaned up
                 Key: KAFKA-7400
                 URL: https://issues.apache.org/jira/browse/KAFKA-7400
             Project: Kafka
          Issue Type: Bug
          Components: log
    Affects Versions: 2.0.0, 1.1.1, 1.1.0
            Reporter: Bob Barrett


LogManager.cleanupLogs currently checks if a topic is compacted, and skips any deletion if it is. This means that if the log start offset increases, log segments that precede the start offset will never be deleted. The log cleanup logic should be improved to delete these segments even for compacted topics.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)