[ 
https://issues.apache.org/jira/browse/CASSANDRA-7279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sylvain Lebresne updated CASSANDRA-7279:
----------------------------------------

    Attachment: 7279_alternative-v2.txt

The problem (with MultiColumnRelationTest) is that the check in ColumnSlice is 
assuming that an empty value will still sort as a lower bound even for a 
reverse comparator as this is what has always been done by 
{{AbstractType.reverseComparator}}. However, somehow, CASSANDRA-5417 didn't 
seem to have carried that over to {{AbstractCType.reverseComparator()}}. So 
anyway, attaching a v2 that simply add "proper" handling of empty to 
{{AbstractCType.reverseComparator()}}. As far as I can tell that breaks no 
other tests. Note that this part won't be needed in 2.0 backport since 
{{AbstracType}} does the right thing there.

v2 also adds the assert in CQL3CasConditions while at it.


> MultiSliceTest.test_with_overlap* unit tests failing in trunk
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-7279
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7279
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Michael Shuler
>            Assignee: T Jake Luciani
>            Priority: Minor
>             Fix For: 2.1 rc1, 3.0
>
>         Attachments: 7279-trunk.txt, 7279-trunkv2.txt, 7279-trunkv3.txt, 
> 7279-trunkv4.txt, 7279_alternative-v2.txt, 7279_alternative.txt
>
>
> Example:
> https://cassci.datastax.com/job/trunk_utest/623/testReport/org.apache.cassandra.thrift/MultiSliceTest/



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to