cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [2/3] git commit: no replication_factor for LocalStrategy
Date Fri, 11 May 2012 22:15:19 GMT
no replication_factor for LocalStrategy


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

Branch: refs/heads/trunk
Commit: 374fa2c2f27a1a51c820eeeb7cfab9875d79be08
Parents: a2a28a4
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Fri May 11 17:14:32 2012 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Fri May 11 17:14:32 2012 -0500

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/374fa2c2/src/java/org/apache/cassandra/config/KSMetaData.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/config/KSMetaData.java b/src/java/org/apache/cassandra/config/KSMetaData.java
index 6e3bcac..14e9cc3 100644
--- a/src/java/org/apache/cassandra/config/KSMetaData.java
+++ b/src/java/org/apache/cassandra/config/KSMetaData.java
@@ -86,7 +86,7 @@ public final class KSMetaData
                                                 CFMetaData.SchemaKeyspacesCf,
                                                 CFMetaData.SchemaColumnFamiliesCf,
                                                 CFMetaData.SchemaColumnsCf);
-        return new KSMetaData(Table.SYSTEM_TABLE, LocalStrategy.class, optsWithRF(1), true,
cfDefs);
+        return new KSMetaData(Table.SYSTEM_TABLE, LocalStrategy.class, Collections.<String,
String>emptyMap(), true, cfDefs);
     }
 
     public static KSMetaData testMetadata(String name, Class<? extends AbstractReplicationStrategy>
strategyClass, Map<String, String> strategyOptions, CFMetaData... cfDefs)


Mime
View raw message