cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-12953) Index name uniqueness validation in CFMetaData is not entirely correct
Date Thu, 24 Nov 2016 15:38:58 GMT
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)

Mime
View raw message