cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12651) Failure in SecondaryIndexTest.testAllowFilteringOnPartitionKeyWithSecondaryIndex
Date Fri, 25 Nov 2016 12:55:58 GMT


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|].
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:
>             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
> 	at org.apache.cassandra.cql3.CQLTester.assertRows(
> 	at org.apache.cassandra.cql3.validation.entities.SecondaryIndexTest.lambda$testAllowFilteringOnPartitionKeyWithSecondaryIndex$78(
> 	at org.apache.cassandra.cql3.validation.entities.SecondaryIndexTest$$Lambda$293/218688965.apply(Unknown
> 	at org.apache.cassandra.cql3.CQLTester.beforeAndAfterFlush(
> 	at org.apache.cassandra.cql3.validation.entities.SecondaryIndexTest.testAllowFilteringOnPartitionKeyWithSecondaryIndex(
> {code}
> Examples:
> May or may not be related, but there's a test failure (index duplicate):

This message was sent by Atlassian JIRA

View raw message