[
https://issues.apache.org/jira/browse/CASSANDRA-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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: https://issues.apache.org/jira/browse/CASSANDRA-184
> 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 org.apache.cassandra.io.SSTable.delete(SSTable.java:223)
>
> [junit] at
> org.apache.cassandra.db.ColumnFamilyStore.doFileCompaction(ColumnFamilyStore.java:1454)
> [junit] at
> org.apache.cassandra.db.ColumnFamilyStore.doCompaction(ColumnFamilyStore.java:896)
>
> [junit] at
> org.apache.cassandra.db.OneCompactionTest.testCompaction(OneCompactionTest.java:47)
>
> [junit] at
> org.apache.cassandra.db.OneCompactionTest.testCompaction2(OneCompactionTest.java:60)
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.