cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1018) Ability to close tables for embeddable cassandra
Date Fri, 23 Apr 2010 17:52:51 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-1018:
--------------------------------------

        Fix Version/s: 0.7
    Affects Version/s:     (was: 0.3)
                           (was: 0.4)
                           (was: 0.5)
                           (was: 0.6)
                           (was: 0.7)
                           (was: 0.8)
                           (was: 0.6.1)
                           (was: 0.6.2)

> Ability to close tables for embeddable cassandra
> ------------------------------------------------
>
>                 Key: CASSANDRA-1018
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1018
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Cliff Moon
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: tables.patch
>
>
> I would like to make Cassandra more embeddable in order to use it from within application
unit tests.  Unfortunately, just nuking directories with CassandraServiceDataCleaner doesn't
completely isolate test cases within a single running JVM.  In-memory table objects are kept
in a static hash map.  This patch adds a close method that will remove table instances from
the static hash map.

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