Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-10664 Fix failing tests
  3. CASSANDRA-10934

upgrade_test map_keys_indexing_test is failing

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      upgrade_tests.cql_tests.TestCQLNodes3RF3.map_keys_indexing_test and upgrade_tests.cql_tests.TestCQLNodes2RF1.map_keys_indexing_test are both failing. See http://cassci.datastax.com/job/cassandra-3.0_dtest/456/testReport/upgrade_tests.cql_tests/TestCQLNodes3RF3/map_keys_indexing_test/ for an example.

      The tests create a secondary index on the keys of a map, then perform an upgrade, then attempt to create secondary index on the values of that map. This is expected to fail, as both indices cannot exist at the same time. If the index creation happens before the upgrade, it does fail. After the upgrade, however, it works. When I check the cluster schema metadata with the python driver, I can only see one index after creating the second, rather than both.

      Node logs are attached.

      Attachments

        1. node1_debug.log
          506 kB
          Philip Thompson
        2. node1.log
          143 kB
          Philip Thompson
        3. node2_debug.log
          276 kB
          Philip Thompson
        4. node2.log
          69 kB
          Philip Thompson
        5. node3_debug.log
          277 kB
          Philip Thompson
        6. node3.log
          72 kB
          Philip Thompson

        Activity

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

          People

            samt Sam Tunnicliffe Assign to me
            philipthompson Philip Thompson
            Sam Tunnicliffe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment