cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10127) Make naming for secondary indexes consistent
Date Fri, 28 Aug 2015 12:42:46 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-10127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Lerer updated CASSANDRA-10127:
---------------------------------------
    Fix Version/s:     (was: 3.0 beta 2)
                   3.0.0 rc1

> Make naming for secondary indexes consistent
> --------------------------------------------
>
>                 Key: CASSANDRA-10127
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10127
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sam Tunnicliffe
>            Assignee: Benjamin Lerer
>             Fix For: 3.0.0 rc1
>
>         Attachments: 10127.txt
>
>
> We have a longstanding mismatch between the name of an index as defined in schema and
what gets returned from {{SecondaryIndex#getIndexName()}}, which for the builtin index impls
is the name of the underlying index CFS, of the form {{<base_table_name>.<index_name>}}.
> This mismatch causes a number of UI inconsistencies:
> {code}nodetool rebuild_index <ks> <tbl> <idx>{code}
> {{<idx>}} must be qualified, i.e. include the redundant table name as without it,
the rebuild silently fails
> {{system.IndexInfo}} (which is also exposed over JMX) uses the form {{<tbl>.<idx>}}
> {code}cqlsh> describe index [<ks>.]<idx>{code}
> here, qualifying {{<idx>}} with the base table name is an error.
> Generally, anything CQL related uses the index name directly, whereas anthing concerned
with building or rebuiling requires the version based on an underlying backing table name.




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

Mime
View raw message