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

Index name uniqueness validation in CFMetaData is not entirely correct

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            aleksey Aleksey Yeschenko

            Dates

              Created:
              Updated:

              Slack

                Issue deployment