cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ran Tavory (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-782) Create a cleanup utility that cleans all data directories
Date Wed, 10 Feb 2010 18:02:31 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832102#action_12832102
] 

Ran Tavory commented on CASSANDRA-782:
--------------------------------------

Hi Gary, I agree method names were a little confusing and functionality not clear, so I renamed
rmdir() to cleanDir() and changed it's functionality to not delete the directory, but only
the directory content (files in it)

> Create a cleanup utility that cleans all data directories
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-782
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-782
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Contrib
>    Affects Versions: 0.6
>            Reporter: Ran Tavory
>            Assignee: Ran Tavory
>            Priority: Minor
>         Attachments: CASSANDRA-782.patch, CASSANDRA-782.patch
>
>
> A cleanup utility is useful for tests, unit tests of products that use cassandra as a
blackbox.
> A cleanup utility may be used in conjunction with an embedded cassandra service (see
CASSANDRA-740) in the following way:
> 1. Test starts by creating the data directories, if they don't exist, and deleting all
content in them to make sure there's a fresh clean start (all this provided by this improvement)
> 2. Test starts an embedded cassandra service (provided by CASSANDRA-740).
> 3. Test runs... adds data to cassandra, reads, deletes etc.
> 4. Test stops the embedded cassandra service
> 5. Test cleans up all data to leave the file system clean.

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