Dmitry Shohov created CASSANDRA-6567: ----------------------------------------
Summary: StackOverflowError with big IN list Key: CASSANDRA-6567 URL: https://issues.apache.org/jira/browse/CASSANDRA-6567 Project: Cassandra Issue Type: Improvement Components: Core Environment: Cassandra 2.0.4 Java Driver 2.0 rc2 Reporter: Dmitry Shohov Cassandra throws StackOverflowError when binding big list in prepared query in IN parameter Stack trace: java.lang.StackOverflowError at org.apache.cassandra.utils.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo(FastByteComparisons.java:110) at org.apache.cassandra.utils.FastByteComparisons.compareTo(FastByteComparisons.java:41) at org.apache.cassandra.utils.FBUtilities.compareUnsigned(FBUtilities.java:216) at org.apache.cassandra.utils.ByteBufferUtil.compareUnsigned(ByteBufferUtil.java:89) at org.apache.cassandra.db.marshal.LongType.compareLongs(LongType.java:54) at org.apache.cassandra.db.marshal.LongType.compare(LongType.java:36) at org.apache.cassandra.db.marshal.LongType.compare(LongType.java:28) at org.apache.cassandra.db.ArrayBackedSortedColumns.binarySearch(ArrayBackedSortedColumns.java:170) at org.apache.cassandra.db.ArrayBackedSortedColumns.binarySearch(ArrayBackedSortedColumns.java:152) at org.apache.cassandra.db.ArrayBackedSortedColumns.getColumn(ArrayBackedSortedColumns.java:89) at org.apache.cassandra.cql3.statements.SelectStatement$1$1.computeNext(SelectStatement.java:825) at org.apache.cassandra.cql3.statements.SelectStatement$1$1.computeNext(SelectStatement.java:826) at org.apache.cassandra.cql3.statements.SelectStatement$1$1.computeNext(SelectStatement.java:826) at org.apache.cassandra.cql3.statements.SelectStatement$1$1.computeNext(SelectStatement.java:826) at .... many more same line stack elements Would be nice to change the logic to exclude manual paging in such cases -- This message was sent by Atlassian JIRA (v6.1.5#6160)