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 (JIRA)" <ji...@apache.org> on 2013/11/19 01:19:21 UTC

[jira] [Resolved] (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:all-tabpanel ]

Dave Brosius resolved CASSANDRA-3814.
-------------------------------------

    Resolution: Won't Fix

> [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 was sent by Atlassian JIRA
(v6.1#6144)