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] [Commented] (CASSANDRA-4251) when loading schema make sure the key and value are not present in the cfIdMap (BiDiMap)
Date Wed, 16 May 2012 17:29:02 GMT

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

Jonathan Ellis commented on CASSANDRA-4251:
-------------------------------------------

Can you reproduce this?  Multiple CFs w/ the same id sounds like a pretty nasty bug.
                
> when loading schema make sure the key and value are not present in the cfIdMap (BiDiMap)
> ----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4251
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.2
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: better_schema_load_exs.diff
>
>
> google bidimap throws an uncaught runtime exception with less than informative information
when the cfid already exists in the cfIDMap has it as a value. Add a check to the preflight
check of the Schema class instead, so there is better messaging.

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