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

Eric Evans reopened CASSANDRA-2592:
-----------------------------------



This blows up on queries that return no results.

{noformat}
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:547)
        at java.util.ArrayList.get(ArrayList.java:322)
        at 
org.apache.cassandra.cql.QueryProcessor.multiRangeSlice(QueryProcessor.java:194)
        at 
org.apache.cassandra.cql.QueryProcessor.process(QueryProcessor.java:534)
        at 
org.apache.cassandra.thrift.CassandraServer.execute_cql_query(CassandraServer.java:1131)
        at 
org.apache.cassandra.thrift.Cassandra$Processor$execute_cql_query.process(Cassandra.java:4072)
        at 
org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2889)
        at 
org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:187)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
{noformat}

> CQL greater-than and less-than operators (> and <) result in key ranges that 
> are inclusive of the terms
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2592
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2592
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 0.8 beta 1
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.8.0
>
>         Attachments: 2592-v3-in-progress.txt, CASSANDRA-2592-v2.patch, 
> CASSANDRA-2592-v3.patch, CASSANDRA-2592.patch
>
>
> This affects range queries against keys, but not index queries.
> One possible solution: let the coordinator strip out the extra row in 
> QueryProcessor.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to