Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Normal
Description
Indexed writes fail with an ArrayIndexOutOfBoundsException depending on the length of the key:
java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -95 at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.ArrayIndexOutOfBoundsException: -95 at org.apache.cassandra.db.Table.apply(Table.java:379) at org.apache.cassandra.db.RowMutation.apply(RowMutation.java:196) at org.apache.cassandra.service.StorageProxy$1.runMayThrow(StorageProxy.java:194) at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30) ... 3 more
The patch that follows updates ColumnFamilyStoreTest to demonstrate.