cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10483) ThriftConversion doesn't filter custom index options correctly
Date Fri, 09 Oct 2015 07:48:26 GMT

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

Mime
View raw message