cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-9281) Index selection during rebuild fails with certain table layouts.
Date Fri, 04 Dec 2015 20:16:11 GMT


Sam Tunnicliffe updated CASSANDRA-9281:
    Component/s: Streaming and Messaging

> Index selection during rebuild fails with certain table layouts.
> ----------------------------------------------------------------
>                 Key: CASSANDRA-9281
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Streaming and Messaging
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>             Fix For: 2.0.15, 2.1.6
>         Attachments: 9281-2.0.txt, 9281-2.1.txt
> The 2.0 patch for CASSANDRA-9196 introduces a bug which can cause index rebuild operations
to fail, including those which run as part of streaming operations. 
> The issue is that {{SI#indexes}} actually expects a full cell name, rather than the CQL
column name (so it's functionally the same as the 2.1 version). Passing a {{}}
to certain implementations causes them to error, {{CompositesIndexOnRegular}} and {{KeysIndex}}s
on tables with {{DynamicCompositeType}} columns for example. 
> The right thing is to do what the 2.1 version does and check the {{ColumnDefinition}}
from the base table appears in {{SI#getColumnDefs}}. If we pull that check into {{SIM#filterByColumn}}
then the {{SI#indexes(ColumnDefinition)}} overload from the original 2.1 patch is redundant.

This message was sent by Atlassian JIRA

View raw message