You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (Commented) (JIRA)" <ji...@apache.org> on 2012/01/30 23:15:10 UTC

[jira] [Commented] (CASSANDRA-3814) [patch] add assertion message for deserializing columns assertion failure

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

Dave Brosius commented on CASSANDRA-3814:
-----------------------------------------

ah didn't no user would post bug 3813
                
> [patch] add assertion message for deserializing columns assertion failure
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3814
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3814
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: assert_msg.diff
>
>
> use was doing
> create column family report_by_account_content with comparator=UTF8Type;
> update column family report_by_account_content with comparator=UTF8Type and column_metadata = [{ column_name:'meta:account-id', validation_class:UTF8Type,index_type:KEYS},{ column_name:'meta:filter-hash', validation_class:UTF8Type,index_type:KEYS}];
> assert was generated but not represented to client. adding message:
> // column name format <cf>:<column name>:<attribute name>
> String[] components = columns.getComparator().getString(column.name()).split(":");
> assert components.length == 3 : "Number of Comparator components not 3: " + Arrays.toString(components);

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