You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2015/10/09 09:48:26 UTC
[jira] [Commented] (CASSANDRA-10483) ThriftConversion doesn't
filter custom index options correctly
[ https://issues.apache.org/jira/browse/CASSANDRA-10483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14950038#comment-14950038 ]
Sylvain Lebresne commented on CASSANDRA-10483:
----------------------------------------------
+1
> 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)