cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-10483) ThriftConversion doesn't filter custom index options correctly
Date Fri, 04 Dec 2015 20:04:11 GMT


Sam Tunnicliffe updated CASSANDRA-10483:
    Component/s: Distributed Metadata

> ThriftConversion doesn't filter custom index options correctly
> --------------------------------------------------------------
>                 Key: CASSANDRA-10483
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Distributed Metadata
>            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

View raw message