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

Andrés de la Peña updated CASSANDRA-12953:
------------------------------------------
    Fix Version/s: 4.x

> Index name uniqueness validation in CFMetaData is not entirely correct
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-12953
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12953
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Distributed Metadata
>            Reporter: Aleksey Yeschenko
>            Priority: Minor
>             Fix For: 3.0.x, 3.11.x, 4.x
>
>
> The check in {{CFMetaData.validate()}} relies on external global state 
> ({{Schema.instance}} to fetch all index names in the keyspace. However, in 
> many cases the validation will be performed without all table instances 
> registered in {{Schema.isntance}} yet. The check should live in 
> {{KeyspaceMetadata}} instead, where no such access is required.
> Things broken by it right now: multiple tests, and Thrift's 
> {{system_add_keyspace}}, at least.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to