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

select_distinct_with_deletions_test failing in mixed version cluster

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0.3, 3.3
    • Legacy/CQL
    • None

    Description

      The dtests upgrade_tests.cql_tests.TestCQLNodes3RF3.select_distinct_with_deletions_test and upgrade_tests.cql_tests.TestCQLNodes2RF1.select_distinct_with_deletions_test are failing.

      While in a mixed node state, they do 'SELECT DISTINCT k FROM t1' on this table
      CREATE TABLE t1 (k int PRIMARY KEY, c int, v int)

      More rows than expected are returned. Here is the sample output of one of those queries. As you can see, there are duplicate values of k returned in a DISTINCT k query. Seems like a bug when communicating between the 2.2 and 3.0 node.

      [Row(k=5), Row(k=1), Row(k=1), Row(k=8), Row(k=8), Row(k=2), Row(k=2), Row(k=4), Row(k=4), Row(k=7), Row(k=7), Row(k=6), Row(k=6), Row(k=9), Row(k=9), Row(k=3), Row(k=3)]
      

      Attachments

        Activity

          People

            slebresne Sylvain Lebresne
            philipthompson Philip Thompson
            Sylvain Lebresne
            Benjamin Lerer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: