cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3580) Don't assume the Table instance has been open when dropping a keyspace
Date Sat, 10 Dec 2011 20:23:40 GMT

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

Hudson commented on CASSANDRA-3580:
-----------------------------------

Integrated in Cassandra-0.8 #417 (See [https://builds.apache.org/job/Cassandra-0.8/417/])
    remove invalid assertion that table was opened before dropping it
patch by slebresne; reviewed by jbellis for CASSANDRA-3580

jbellis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1212849
Files : 
* /cassandra/branches/cassandra-0.8/CHANGES.txt
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/migration/DropKeyspace.java

                
> Don't assume the Table instance has been open when dropping a keyspace
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-3580
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3580
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Trivial
>             Fix For: 0.8.9, 1.0.6
>
>         Attachments: 0001-Super-awesome-fix.patch
>
>
> DropKeyspace assumes that the Table had been open (rather, it checks that Table.clear()
don't return null). It has been seen however that in the case of a fat client (the sstableloader
in that case, but it would be true for any fat client) the Table may not have been open. Let's
just remove that assertion.

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

        

Mime
View raw message