cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject git commit: Add bloom_filter_fp_chance to cli patch by yukim; reviewed by jbellis for CASSANDRA-3497
Date Thu, 05 Jan 2012 23:10:04 GMT
Updated Branches:
  refs/heads/cassandra-1.0 0d0939582 -> 7ab6cb1e5


Add bloom_filter_fp_chance to cli
patch by yukim; reviewed by jbellis for CASSANDRA-3497


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/7ab6cb1e
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/7ab6cb1e
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/7ab6cb1e

Branch: refs/heads/cassandra-1.0
Commit: 7ab6cb1e500ecdd0c1c7a920c066373ae5b06cc9
Parents: 0d09395
Author: Yuki Morishita <mor.yuki@gmail.com>
Authored: Wed Jan 4 10:37:17 2012 -0600
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Thu Jan 5 17:09:27 2012 -0600

----------------------------------------------------------------------
 src/java/org/apache/cassandra/cli/CliClient.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/7ab6cb1e/src/java/org/apache/cassandra/cli/CliClient.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cli/CliClient.java b/src/java/org/apache/cassandra/cli/CliClient.java
index 7ad52cc..60ed3ef 100644
--- a/src/java/org/apache/cassandra/cli/CliClient.java
+++ b/src/java/org/apache/cassandra/cli/CliClient.java
@@ -1661,6 +1661,8 @@ public class CliClient
         writeAttr(sb, false, "replicate_on_write", cfDef.replicate_on_write);
         writeAttr(sb, false, "row_cache_provider", normaliseType(cfDef.row_cache_provider,
"org.apache.cassandra.cache"));
         writeAttr(sb, false, "compaction_strategy", cfDef.compaction_strategy);
+        if (cfDef.isSetBloom_filter_fp_chance())
+            writeAttr(sb, false, "bloom_filter_fp_chance", cfDef.bloom_filter_fp_chance);
 
         if (!cfDef.compaction_strategy_options.isEmpty())
         {
@@ -1997,6 +1999,7 @@ public class CliClient
         sessionState.out.printf("      Compaction min/max thresholds: %s/%s%n", cf_def.min_compaction_threshold,
cf_def.max_compaction_threshold);
         sessionState.out.printf("      Read repair chance: %s%n", cf_def.read_repair_chance);
         sessionState.out.printf("      Replicate on write: %s%n", cf_def.replicate_on_write);
+        sessionState.out.printf("      Bloom Filter FP chance: %s%n", cf_def.isSetBloom_filter_fp_chance()
? cf_def.bloom_filter_fp_chance : "default");
 
         // if we have connection to the cfMBean established
         if (cfMBean != null)


Mime
View raw message