cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "julien campan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4797) range queries return incorrect results
Date Tue, 30 Oct 2012 09:56:14 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-4797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486774#comment-13486774
] 

julien campan commented on CASSANDRA-4797:
------------------------------------------

Ok, i did it 
CASSANDRA-4877 - Range queries return fewer result after a lot of delete 
                
> range queries return incorrect results
> --------------------------------------
>
>                 Key: CASSANDRA-4797
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4797
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Brandon Williams
>             Fix For: 1.2.0
>
>
> I've only seen this fail once, but it's quite obviously returning incorrect results since
the query is "SELECT * FROM clicks WHERE userid >= 2 LIMIT 1" and it's getting userid 0
in return.
> {noformat}
> ======================================================================
> FAIL: cql_tests.TestCQL.limit_ranges_test
> Validate LIMIT option for 'range queries' in SELECT statements
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/pymodules/python2.7/nose/case.py", line 183, in runTest
>     self.test(*self.arg)
>   File "/var/lib/buildbot/cassandra-dtest/tools.py", line 187, in wrapped
>     f(obj)
>   File "/var/lib/buildbot/cassandra-dtest/cql_tests.py", line 302, in limit_ranges_test
>     assert res == [[ 2, 'http://foo.com', 42 ]], res
> AssertionError: [[0, u'http://foo.com', 42]]
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message