cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CASSANDRA-9488) CrcCheckChanceTest.testChangingCrcCheckChance fails with stack overflow
Date Wed, 27 May 2015 02:19:17 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-9488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

T Jake Luciani reassigned CASSANDRA-9488:
-----------------------------------------

    Assignee: T Jake Luciani  (was: Ariel Weisberg)

> CrcCheckChanceTest.testChangingCrcCheckChance fails with stack overflow
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-9488
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9488
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Ariel Weisberg
>            Assignee: T Jake Luciani
>
> http://cassci.datastax.com/job/trunk_utest/212/testReport/junit/org.apache.cassandra.cql3/CrcCheckChanceTest/testChangingCrcCheckChance/
> {noformat}
> java.lang.StackOverflowError
> 	at org.apache.cassandra.io.compress.CompressionParameters.validateCrcCheckChance(CompressionParameters.java:138)
> 	at org.apache.cassandra.io.compress.CompressionParameters.setCrcCheckChance(CompressionParameters.java:110)
> 	at org.apache.cassandra.io.compress.CompressionParameters.setCrcCheckChance(CompressionParameters.java:114)
> 	at org.apache.cassandra.io.compress.CompressionParameters.setCrcCheckChance(CompressionParameters.java:114)
> 	at org.apache.cassandra.io.compress.CompressionParameters.setCrcCheckChance(CompressionParameters.java:114)
> {noformat}
> The code is
> {noformat}
>     public void setCrcCheckChance(double crcCheckChance) throws ConfigurationException
>     {
>         validateCrcCheckChance(crcCheckChance);
>         this.crcCheckChance = crcCheckChance;
>         if (liveMetadata != null)
>             liveMetadata.compressionParameters.setCrcCheckChance(crcCheckChance);
>     }
> {noformat}
> Looks like it is just following itself circularly. Should definitely add an assertion
that they are not the same compression parameters. Will run it in a loop for a while to see
if it reproduces.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message