Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-12953

Index name uniqueness validation in CFMetaData is not entirely correct

    XMLWordPrintableJSON

Details

    • Low

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aleksey Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: