cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject git commit: Make SerializingCacheProvider the default when absent from the yaml. Patch by brandonwilliams, reviewed by jbellis for CASSANDRA-4828
Date Thu, 18 Oct 2012 01:49:41 GMT
Updated Branches:
  refs/heads/cassandra-1.1 ffbcb4b11 -> c9b249b2a


Make SerializingCacheProvider the default when absent from the yaml.
Patch by brandonwilliams, reviewed by jbellis for CASSANDRA-4828


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

Branch: refs/heads/cassandra-1.1
Commit: c9b249b2a83512844a2ec2611a919d4567212ee8
Parents: ffbcb4b
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Wed Oct 17 20:47:59 2012 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Wed Oct 17 20:48:35 2012 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/config/Config.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c9b249b2/src/java/org/apache/cassandra/config/Config.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/config/Config.java b/src/java/org/apache/cassandra/config/Config.java
index dc16622..f4e7955 100644
--- a/src/java/org/apache/cassandra/config/Config.java
+++ b/src/java/org/apache/cassandra/config/Config.java
@@ -20,7 +20,7 @@ package org.apache.cassandra.config;
  *
  */
 
-import org.apache.cassandra.cache.ConcurrentLinkedHashCacheProvider;
+import org.apache.cassandra.cache.SerializingCacheProvider;
 
 
 public class Config
@@ -135,7 +135,7 @@ public class Config
     public long row_cache_size_in_mb = 0;
     public int row_cache_save_period = 0;
     public int row_cache_keys_to_save = Integer.MAX_VALUE;
-    public String row_cache_provider = ConcurrentLinkedHashCacheProvider.class.getSimpleName();
+    public String row_cache_provider = SerializingCacheProvider.class.getSimpleName();
     public boolean populate_io_cache_on_flush = false;
 
     private static boolean loadYaml = true;


Mime
View raw message