cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Updated: (CASSANDRA-184) intermittent OneCompactionTest failure
Date Mon, 18 May 2009 15:48:45 GMT


Jonathan Ellis updated CASSANDRA-184:

    Attachment: 184-0.3.patch

OneCompactionTest is failing occasionally because 500 keys per CFS is actually triggering
anautomatic compaction (since test flush threshold is only 20) and we were doing a non-threadsafe
doCompaction for convenience: the failure occurs when our manual compaction begins mid-run
of an automatic one, and the automatic deletesthe original sstable file first.  Fix by (a)
dropping the number of keys so that OneCompactionTest lives up to its name (more are tested
in "CompactionsTest") and (b) making the compactions call threadsafe by refactoring to allow
a threshold parameter to MCM.submit.

> intermittent OneCompactionTest failure
> --------------------------------------
>                 Key: CASSANDRA-184
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Jonathan Ellis
>         Attachments: 184-0.3.patch, 184-trunk.patch
> [junit] junit.framework.AssertionFailedError                                        
>     [junit]     at         
>     [junit]     at org.apache.cassandra.db.ColumnFamilyStore.doFileCompaction(
>     [junit]     at org.apache.cassandra.db.ColumnFamilyStore.doCompaction(
>     [junit]     at org.apache.cassandra.db.OneCompactionTest.testCompaction(
>     [junit]     at org.apache.cassandra.db.OneCompactionTest.testCompaction2(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message