cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1143401 - /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/DatacenterReadCallback.java
Date Wed, 06 Jul 2011 13:27:19 GMT
Author: jbellis
Date: Wed Jul  6 13:27:19 2011
New Revision: 1143401

URL: http://svn.apache.org/viewvc?rev=1143401&view=rev
Log:
actually log the built replica list (#2746)

Modified:
    cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/DatacenterReadCallback.java

Modified: cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/DatacenterReadCallback.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/DatacenterReadCallback.java?rev=1143401&r1=1143400&r2=1143401&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/DatacenterReadCallback.java
(original)
+++ cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/DatacenterReadCallback.java
Wed Jul  6 13:27:19 2011
@@ -86,9 +86,10 @@ public class DatacenterReadCallback<T> e
                 for (InetAddress endpoint : endpoints)
                 {
                     if (localdc.equals(snitch.getDatacenter(endpoint)))
-                        builder.append(endpoint).append(", ");
+                        builder.append(endpoint).append(",");
                 }
                 builder.append("] are insufficient to satisfy LOCAL_QUORUM requirement of
").append(blockfor).append(" live nodes");
+                logger.debug(builder.toString());
             }
 
             throw new UnavailableException();



Mime
View raw message