You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2016/11/24 15:38:58 UTC
[jira] [Created] (CASSANDRA-12953) Index name uniqueness validation
in CFMetaData is not entirely correct
Aleksey Yeschenko created CASSANDRA-12953:
---------------------------------------------
Summary: 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
Reporter: Aleksey Yeschenko
Priority: Minor
Fix For: 3.0.x, 3.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.3.4#6332)