Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-782

Create a cleanup utility that cleans all data directories

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.6
    • None
    • None

    Description

      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.

      Attachments

        1. CASSANDRA-782.patch
          12 kB
          Ran Tavory
        2. CASSANDRA-782.patch
          12 kB
          Ran Tavory
        3. CASSANDRA-782.patch
          12 kB
          Ran Tavory

        Activity

          People

            rantav Ran Tavory
            rantav Ran Tavory
            Ran Tavory
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: