[ https://issues.apache.org/jira/browse/CASSANDRA-9488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
T Jake Luciani updated CASSANDRA-9488: -------------------------------------- Component/s: Local Write-Read Paths > CrcCheckChanceTest.testChangingCrcCheckChance fails with stack overflow > ----------------------------------------------------------------------- > > Key: CASSANDRA-9488 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9488 > Project: Cassandra > Issue Type: Bug > Components: Local Write-Read Paths > Reporter: Ariel Weisberg > Assignee: T Jake Luciani > Priority: Minor > Fix For: 2.0.16 > > Attachments: fix.txt > > > 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)