[ https://issues.apache.org/jira/browse/CASSANDRA-12651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15695805#comment-15695805 ]
Alex Petrov commented on CASSANDRA-12651: ----------------------------------------- Brilliant research, [~beobal]! Sorry I couldn't repro / fix it myself. I guess I just got overly convinced in the fact it was something wrong with tests. The {{DecoratedKey}} jump from 5 to 0 certainly proves the point. I've also read the [CASSANDRA-12590] discussion, so it does look like these both are consequences of the same problem. As far as I understood, the second (empty) constructor was added in order to avoid assertion failure when {{null}} is passed (tried it locally without). I have to mention that segfault results are shadowed by cassci, for example [here|https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-12651-segfault-testall/1/]. We see that the VM exited abnormally, although all the other tests are just skipped, so this is why we may have never seen segfaults mentioned in [CASSANDRA-12590] (might be for other reasons). I'll open up the issue. +1 from my side. > Failure in > SecondaryIndexTest.testAllowFilteringOnPartitionKeyWithSecondaryIndex > -------------------------------------------------------------------------------- > > Key: CASSANDRA-12651 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12651 > Project: Cassandra > Issue Type: Bug > Components: Testing > Reporter: Joel Knighton > Assignee: Sam Tunnicliffe > Labels: test-failure > Fix For: 3.0.x, 3.x > > > This has failed with/without compression. > Stacktrace: > {code} > junit.framework.AssertionFailedError: Got less rows than expected. Expected 2 > but got 0 > at org.apache.cassandra.cql3.CQLTester.assertRows(CQLTester.java:909) > at > org.apache.cassandra.cql3.validation.entities.SecondaryIndexTest.lambda$testAllowFilteringOnPartitionKeyWithSecondaryIndex$78(SecondaryIndexTest.java:1228) > at > org.apache.cassandra.cql3.validation.entities.SecondaryIndexTest$$Lambda$293/218688965.apply(Unknown > Source) > at > org.apache.cassandra.cql3.CQLTester.beforeAndAfterFlush(CQLTester.java:1215) > at > org.apache.cassandra.cql3.validation.entities.SecondaryIndexTest.testAllowFilteringOnPartitionKeyWithSecondaryIndex(SecondaryIndexTest.java:1218) > {code} > Examples: > http://cassci.datastax.com/job/trunk_testall/1176/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex/ > http://cassci.datastax.com/job/trunk_testall/1176/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex_compression/ > http://cassci.datastax.com/job/trunk_testall/1219/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex/ > http://cassci.datastax.com/job/trunk_testall/1216/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex/ > http://cassci.datastax.com/job/trunk_testall/1208/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex/ > http://cassci.datastax.com/job/trunk_testall/1176/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex/ > http://cassci.datastax.com/job/trunk_testall/1175/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex/ > May or may not be related, but there's a test failure (index duplicate): > http://cassci.datastax.com/view/Dev/view/carlyeks/job/carlyeks-ticket-11803-3.X-testall/lastCompletedBuild/testReport/org.apache.cassandra.index.internal/CassandraIndexTest/indexOnFirstClusteringColumn_compression/ > http://cassci.datastax.com/job/ifesdjeen-11803-test-fix-trunk-testall/1/testReport/junit/org.apache.cassandra.index.internal/CassandraIndexTest/indexOnFirstClusteringColumn_compression/ -- This message was sent by Atlassian JIRA (v6.3.4#6332)