change CRTO default to 5%

This commit is contained in:
Jonathan Ellis 2013-10-29 15:41:04 -05:00
parent 4f0bc89cf4
commit 9e2ccc15df
2 changed files with 5 additions and 1 deletions

View File

@ -24,6 +24,10 @@ Upgrading
upgrading to 2.1 due to the fact that the old JSON leveled
manifest is migrated into the sstable metadata files on startup
in 2.0 and this code is gone from 2.1.
- For size-tiered compaction users, Cassandra now defaults to ignoring
the coldest 5% of sstables. This can be customized with the
cold_reads_to_omit compaction option; 0.0 omits nothing (the old
behavior) and 1.0 omits everything.
2.0.2

View File

@ -26,7 +26,7 @@ public final class SizeTieredCompactionStrategyOptions
protected static final long DEFAULT_MIN_SSTABLE_SIZE = 50L * 1024L * 1024L;
protected static final double DEFAULT_BUCKET_LOW = 0.5;
protected static final double DEFAULT_BUCKET_HIGH = 1.5;
protected static final double DEFAULT_COLD_READS_TO_OMIT = 0.0;
protected static final double DEFAULT_COLD_READS_TO_OMIT = 0.05;
protected static final String MIN_SSTABLE_SIZE_KEY = "min_sstable_size";
protected static final String BUCKET_LOW_KEY = "bucket_low";
protected static final String BUCKET_HIGH_KEY = "bucket_high";