add BF with 0.1 FP to LCS by default patch by jbellis; reviewed by brandonwilliams for CASSANDRA-5029
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/21581315 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/21581315 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/21581315 Branch: refs/heads/cassandra-1.2.0 Commit: 21581315760d8d6764da120dd07dd9d4cf53093e Parents: 40e2248 Author: Jonathan Ellis <jbel...@apache.org> Authored: Tue Dec 4 23:13:50 2012 -0600 Committer: Jonathan Ellis <jbel...@apache.org> Committed: Tue Dec 4 23:13:50 2012 -0600 ---------------------------------------------------------------------- CHANGES.txt | 1 + .../org/apache/cassandra/config/CFMetaData.java | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/21581315/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index a08e78a..732cc5d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,6 @@ 1.2-rc1 * rename rpc_timeout settings to request_timeout (CASSANDRA-5027) + * add BF with 0.1 FP to LCS by default (CASSANDRA-5029) 1.2-beta3 http://git-wip-us.apache.org/repos/asf/cassandra/blob/21581315/src/java/org/apache/cassandra/config/CFMetaData.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/config/CFMetaData.java b/src/java/org/apache/cassandra/config/CFMetaData.java index cb760f1..c2aa768 100644 --- a/src/java/org/apache/cassandra/config/CFMetaData.java +++ b/src/java/org/apache/cassandra/config/CFMetaData.java @@ -531,7 +531,7 @@ public final class CFMetaData public double getBloomFilterFpChance() { return bloomFilterFpChance == null - ? compactionStrategyClass == LeveledCompactionStrategy.class ? 1.0 : 0.01 + ? compactionStrategyClass == LeveledCompactionStrategy.class ? 0.1 : 0.01 : bloomFilterFpChance; }