cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1031270 - /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/StorageProxy.java
Date Thu, 04 Nov 2010 21:42:21 GMT
Author: jbellis
Date: Thu Nov  4 21:42:21 2010
New Revision: 1031270

URL: http://svn.apache.org/viewvc?rev=1031270&view=rev
Log:
add coordinator result debug logging for index scans.  patch by jbellis

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

Modified: cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/StorageProxy.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/StorageProxy.java?rev=1031270&r1=1031269&r2=1031270&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/StorageProxy.java
(original)
+++ cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/StorageProxy.java
Thu Nov  4 21:42:21 2010
@@ -686,6 +686,11 @@ public class StorageProxy implements Sto
                 throw new RuntimeException(e);
             }
             rows.addAll(theseRows);
+            if (logger.isDebugEnabled())
+            {
+                for (Row row : theseRows)
+                    logger.debug("read " + row);
+            }
             if (rows.size() >= index_clause.count)
                 return rows.subList(0, index_clause.count);
         }



Mime
View raw message