You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Berenguer Blasi (Jira)" <ji...@apache.org> on 2021/05/19 05:29:00 UTC

[jira] [Comment Edited] (CASSANDRA-16637) LongLeveledCompactionStrategyCQLTest.stressTestCompactionStrategyManager fails

    [ https://issues.apache.org/jira/browse/CASSANDRA-16637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17347305#comment-17347305 ] 

Berenguer Blasi edited comment on CASSANDRA-16637 at 5/19/21, 5:28 AM:
-----------------------------------------------------------------------

^What if through {{CassandraVersion}} we skip the test if version == 4.0? Googling a bit seems {{org.junit.Assume.assumeTrue(someCondition())}}  in the {{BeforeClass}} would skip the test. Disclaimer: I haven't tried it.

If we wanted to avoid skpping the full test we could catch the specific failure, which seems to be always the same, and not fail if version==4.0. wdyt?


was (Author: bereng):
^What if through {{CassandraVersion}} we skip the test if version == 4.0? Googling a bit seems {{org.junit.Assume.assumeTrue(someCondition());}}  in the {{BeforeClass}} would skip the test. Disclaimer: I haven't tried it.

If we wanted to avoid skpping the full test we could catch the specific failure, which seems to be always the same, and not fail if version==4.0. wdyt?

> LongLeveledCompactionStrategyCQLTest.stressTestCompactionStrategyManager fails
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16637
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16637
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local/Compaction/LCS
>            Reporter: Adam Holmberg
>            Assignee: Marcus Eriksson
>            Priority: Normal
>             Fix For: 4.0.x
>
>
> Test is failing occasionally as follows:
> {noformat}
> Caused by: java.lang.AssertionError: Got unexpected overlap in level 3
> 	at org.apache.cassandra.db.compaction.LeveledGenerations.addAll(LeveledGenerations.java:161)
> 	at org.apache.cassandra.db.compaction.LeveledManifest.addSSTables(LeveledManifest.java:131)
> 	at org.apache.cassandra.db.compaction.LeveledCompactionStrategy.addSSTable(LeveledCompactionStrategy.java:365)
> 	at org.apache.cassandra.db.compaction.CompactionStrategyManager.startup(CompactionStrategyManager.java:312)
> 	at org.apache.cassandra.db.compaction.CompactionStrategyManager.reload(CompactionStrategyManager.java:532)
> 	at org.apache.cassandra.db.compaction.CompactionStrategyManager.maybeReloadDiskBoundaries(CompactionStrategyManager.java:495)
> 	at org.apache.cassandra.db.compaction.CompactionStrategyManager.handleNotification(CompactionStrategyManager.java:743)
> 	at org.apache.cassandra.db.lifecycle.Tracker.notify(Tracker.java:508)
> 	at org.apache.cassandra.db.lifecycle.Tracker.notifyDiscarded(Tracker.java:502)
> 	at org.apache.cassandra.db.lifecycle.Tracker.replaceFlushed(Tracker.java:373)
> 	at org.apache.cassandra.db.ColumnFamilyStore.replaceFlushed(ColumnFamilyStore.java:1592)
> 	at org.apache.cassandra.db.ColumnFamilyStore$Flush.flushMemtable(ColumnFamilyStore.java:1194)
> 	at org.apache.cassandra.db.ColumnFamilyStore$Flush.run(ColumnFamilyStore.java:1075)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> {noformat}
> [Recent ci|https://ci-cassandra.apache.org/job/Cassandra-trunk/476/testReport/junit/org.apache.cassandra.db.compaction/LongLeveledCompactionStrategyCQLTest/stressTestCompactionStrategyManager/]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org