Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
Low
Description
If a client makes a get_indexed_slice() request with malformed predicate values we get an assertion failing rather than InvalidRequestException.
ERROR 14:47:56,842 Error in ThreadPoolExecutor java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: 6 at org.apache.cassandra.service.IndexScanVerbHandler.doVerb(IndexScanVer bHandler.java:51) at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask. java:72) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec utor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.IndexOutOfBoundsException: 6 at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:121) at org.apache.cassandra.db.marshal.TimeUUIDType.compareTimestampBytes(Ti meUUIDType.java:56) at org.apache.cassandra.db.marshal.TimeUUIDType.compare(TimeUUIDType.jav a:45) at org.apache.cassandra.db.marshal.TimeUUIDType.compare(TimeUUIDType.jav a:29) at org.apache.cassandra.db.ColumnFamilyStore.satisfies(ColumnFamilyStore .java:1608) at org.apache.cassandra.db.ColumnFamilyStore.scan(ColumnFamilyStore.java :1552) at org.apache.cassandra.service.IndexScanVerbHandler.doVerb(IndexScanVer bHandler.java:42) ... 4 more