[ https://issues.apache.org/jira/browse/CASSANDRA-5856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13741288#comment-13741288 ]
Brandon Williams commented on CASSANDRA-5856: --------------------------------------------- So, this is a lot simpler than the test makes it look. It's caused simple by asking for the same column by name twice: {noformat} cqlsh> create keyspace foo WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1}; cqlsh> use foo; cqlsh:foo> create table bar (row varchar, name varchar, value int, PRIMARY KEY (row, name)); cqlsh:foo> update bar set value = 1 WHERE row = 'baz' AND name = 'qux'; cqlsh:foo> select value from bar where row='baz' AND name in ('qux', 'qux'); Request did not complete within rpc_timeout. {noformat} Results in: {noformat} java.lang.AssertionError: Added cell qux: does not sort as the last; contents are qux::false:0@1376590034567000,qux:value:false:4@1376590034567000, with comparator org.apache.cassandra.db.marshal.CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type) {noformat} > AE in ArrayBackedSortedColumns > ------------------------------ > > Key: CASSANDRA-5856 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5856 > Project: Cassandra > Issue Type: Bug > Reporter: Brandon Williams > Assignee: Aleksey Yeschenko > Priority: Critical > Fix For: 1.2.9 > > Attachments: 5856-assert.txt > > > {noformat} > ERROR [ReadStage:3] 2013-08-07 06:58:21,485 CassandraDaemon.java (line 192) > Exception in thread Thread[ReadStage:3,5,main] > java.lang.AssertionError: Added column does not sort as the last column > at > org.apache.cassandra.db.ArrayBackedSortedColumns.addColumn(ArrayBackedSortedColumns.java:131) > at > org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:119) > at > org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:114) > at > org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:171) > at > org.apache.cassandra.db.filter.QueryFilter.collateColumns(QueryFilter.java:136) > at > org.apache.cassandra.db.filter.QueryFilter.collateOnDiskAtom(QueryFilter.java:84) > at > org.apache.cassandra.db.CollationController.collectAllData(CollationController.java:291) > at > org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:65) > at > org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1390) > at > org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1213) > at > org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1125) > at org.apache.cassandra.db.Table.getRow(Table.java:347) > at > org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:70) > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1047) > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1593) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:722) > {noformat} > test_column_index_stress in wide_rows_test will reproduce this within ~20 > runs and bisect strongly points to a regression in CASSANDRA-5762 -- 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