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