cassandra/test
Jonathan Ellis a41df854d6 OneCompactionTest is failing occasionally because 500 keys per CFS is actually triggering an automatic 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 deletes the 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.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-184

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@776714 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 14:40:27 +00:00
..
conf add license header to source files missing one. patch by johano; reviewed by jbellis for CASSANDRA-175 2009-05-14 14:33:41 +00:00
system replace executor with locking. the interaction between the executor service terminating and the CFS 2009-05-13 22:31:49 +00:00
unit/org/apache/cassandra OneCompactionTest is failing occasionally because 500 keys per CFS is actually triggering an automatic 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 deletes the 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. 2009-05-20 14:40:27 +00:00
cassandra.in.sh make out-of-the-box config 1GB-friendly. patch by jbellis; reviewed by Eric Evans for CASSANDRA-118 2009-05-01 20:14:35 +00:00