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

Yuki Morishita commented on CASSANDRA-9575:
-------------------------------------------

force blocking flush certainly waits for flush.
But flushed SSTable will not be picked up by background compaction when only 
that one SSTable in L0 is not compacting and others are compacting.
There is no need to compact just one SSTable.

Major LCS compaction picks up all SSTable at once, including SSTable that is 
just flushed.

> LeveledCompactionStrategyTest.testCompactionRace and testMutateLevel 
> sometimes fail
> -----------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-9575
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9575
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Ariel Weisberg
>            Assignee: Yuki Morishita
>              Labels: test-failure
>             Fix For: 3.0 beta 2
>
>
> testCompactionRace
> http://cassci.datastax.com/view/trunk/job/trunk_testall/136/testReport/junit/org.apache.cassandra.db.compaction/LeveledCompactionStrategyTest/testCompactionProgress/
> testMutateLevel (only seen on my desktop)
> {noformat}
>     [junit] Testcase: 
> testMutateLevel(org.apache.cassandra.db.compaction.LeveledCompactionStrategyTest):
>         FAILED
>     [junit] expected:<6> but was:<0>
>     [junit] junit.framework.AssertionFailedError: expected:<6> but was:<0>
>     [junit]     at 
> org.apache.cassandra.db.compaction.LeveledCompactionStrategyTest.testMutateLevel(LeveledCompactionStrateg
> yTest.java:281)
> {noformat}



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

Reply via email to