cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "B. Todd Burruss (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-1509) CassandraServiceDataCleaner doesn't remove subdirectories properly
Date Thu, 16 Sep 2010 03:05:32 GMT
CassandraServiceDataCleaner doesn't remove subdirectories properly
------------------------------------------------------------------

                 Key: CASSANDRA-1509
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1509
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 0.7 beta 1
            Reporter: B. Todd Burruss


CassandraServiceDataCleaner.cleanDir assumes all files in the directory are normal files,
not directories.  Suggested fix is to change FileUtils.delete(dirFile.listFiles()) to FileUtils.deleteRecursive(f)
to remove recursively which will delete all data files.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message