cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ariel Weisberg (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CASSANDRA-12953) Index name uniqueness validation in CFMetaData is not entirely correct
Date Tue, 12 Sep 2017 22:17:00 GMT

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

Ariel Weisberg reassigned CASSANDRA-12953:
------------------------------------------

    Assignee:     (was: Ariel Weisberg)

> 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
>
>
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message