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

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

     [ https://issues.apache.org/jira/browse/KAFKA-7400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jun Rao resolved KAFKA-7400.
----------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0

Merged the PR to trunk.

> 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: 1.1.0, 1.1.1, 2.0.0
>            Reporter: Bob Barrett
>            Assignee: Bob Barrett
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> 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)