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 (Updated) (JIRA)" <ji...@apache.org> on 2012/03/03 02:48:20 UTC

[jira] [Updated] (KAFKA-292) broker deletes all file segments when cleaning up an empty log segment

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

Jun Rao updated KAFKA-292:
--------------------------

    Attachment: kafka-292.patch
    
> broker deletes all file segments when cleaning up an empty log segment
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-292
>                 URL: https://issues.apache.org/jira/browse/KAFKA-292
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>             Fix For: 0.7.1
>
>         Attachments: kafka-292.patch
>
>
> Suppose that a log has only one log segment left and it's empty. If that segment expires and is deleted, we roll out a new segment of the same name. However, the deletion happens after the log is rolled. This will make the log directory empty, which should never happen.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira