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

map_keys_indexing_test failing on multiple upgrade paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • Normal

    Description

      The following tests:

      upgrade_tests/cql_tests.py:TestCQLNodes3RF3_2_1_HEAD_UpTo_2_2.map_keys_indexing_test
      upgrade_tests/cql_tests.py:TestCQLNodes2RF1_2_1_UpTo_2_2_HEAD.map_keys_indexing_test
      upgrade_tests/cql_tests.py:TestCQLNodes3RF3_2_1_UpTo_2_2_HEAD.map_keys_indexing_test
      upgrade_tests/cql_tests.py:TestCQLNodes2RF1_2_1_HEAD_UpTo_2_2.map_keys_indexing_test
      

      fail on CassCI with the error

      code=2200 [Invalid query] message="Cannot create index on values(m): an index on keys(m) already exists and indexing a map on more than one dimension at the same time is not currently supported"
      

      So, it looks like these tests are trying to create indexes on earlier versions than the tested behavior is supported. I think the thing to do is check during the test to see what version the nodes are running, and skip the test if we're running too early a version.

      Attachments

        Activity

          People

            samt Sam Tunnicliffe
            mambocab Jim Witschey
            Sam Tunnicliffe
            Jim Witschey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: