Details
-
Sub-task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
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)]