cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r996017 - /cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/config/DatabaseDescriptor.java
Date Fri, 10 Sep 2010 23:54:28 GMT
Author: jbellis
Date: Fri Sep 10 23:54:27 2010
New Revision: 996017

URL: http://svn.apache.org/viewvc?rev=996017&view=rev
Log:
r/m unused DD.getQuorum method.  patch by jbellis for CASSANDRA-1487

Modified:
    cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/config/DatabaseDescriptor.java

Modified: cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/config/DatabaseDescriptor.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/config/DatabaseDescriptor.java?rev=996017&r1=996016&r2=996017&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/config/DatabaseDescriptor.java
(original)
+++ cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/config/DatabaseDescriptor.java
Fri Sep 10 23:54:27 2010
@@ -974,11 +974,6 @@ public class DatabaseDescriptor
         return tables.get(table).replicationFactor;
     }
 
-    public static int getQuorum(String table)
-    {
-        return (tables.get(table).replicationFactor / 2) + 1;
-    }
-
     public static long getRpcTimeout()
     {
         return rpcTimeoutInMillis;



Mime
View raw message