You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (JIRA)" <ji...@apache.org> on 2015/10/08 19:46:27 UTC

[jira] [Created] (CASSANDRA-10483) ThriftConversion doesn't filter custom index options correctly

Sam Tunnicliffe created CASSANDRA-10483:
-------------------------------------------

             Summary: ThriftConversion doesn't filter custom index options correctly
                 Key: CASSANDRA-10483
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10483
             Project: Cassandra
          Issue Type: Bug
            Reporter: Sam Tunnicliffe
            Assignee: Sam Tunnicliffe
             Fix For: 3.0.0 rc2


When converting an index definition from schema into the legacy thrift format, the index options are filtered to remove the reserved {{target}} option, which is automatically generated by Cassandra. Standard indexes do not support any user supplied options, but in the case of custom indexes (which do) the filtering is not happening correctly. This is due to a simple bug in {{ThriftConversion::toThrift(CFMetaData, ColumnDefinition)}} and wasn't caught because the relevant unit test doesn't include any custom index definitions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)