[ 
https://issues.apache.org/jira/browse/KAFKA-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153987#comment-13153987
 ] 

Jun Rao commented on KAFKA-209:
-------------------------------

It should behave that way in both 0.6 and 0.7. If not, it's a bug.
                
> Remove empty directory when no log segments remain
> --------------------------------------------------
>
>                 Key: KAFKA-209
>                 URL: https://issues.apache.org/jira/browse/KAFKA-209
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>            Reporter: Taylor Gautier
>
> When the log cleaner runs it deletes segments from the log directory.  
> However, if all the segments are cleaned, the log directory itself is 
> retained.  There doesn't seem to be any need for this as the directory will 
> be re-created on write if necessary.
> This JIRA would improve the log cleaner to also remove unused topic 
> directories from the log directory.

--
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

        

Reply via email to