cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r772790 - /incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
Date Thu, 07 May 2009 22:09:13 GMT
Author: jbellis
Date: Thu May  7 22:09:13 2009
New Revision: 772790

URL: http://svn.apache.org/viewvc?rev=772790&view=rev
Log:
more logging cleanout.  patch by jbellis

Modified:
    incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java?rev=772790&r1=772789&r2=772790&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java Thu
May  7 22:09:13 2009
@@ -561,7 +561,6 @@
             if ( !bVal )
                 continue;
             ColumnFamily columnFamily = fetchColumnFamily(key, cf, filter, file);
-            long start = System.currentTimeMillis();
             if (columnFamily != null)
             {
                 columnFamilies.add(columnFamily);
@@ -570,7 +569,6 @@
                 	break;
                 }
             }
-            logger_.debug("DISK Data structure population  TIME: " + (System.currentTimeMillis()
- start) + " ms.");
         }
     }
 
@@ -578,15 +576,11 @@
     private ColumnFamily fetchColumnFamily(String key, String cf, IFilter filter, String
ssTableFile) throws IOException
 	{
 		SSTable ssTable = new SSTable(ssTableFile, StorageService.getPartitioner());
-		long start = System.currentTimeMillis();
 		DataInputBuffer bufIn;
 		bufIn = filter.next(key, cf, ssTable);
-		logger_.debug("DISK ssTable.next TIME: " + (System.currentTimeMillis() - start) + " ms.");
 		if (bufIn.getLength() == 0)
 			return null;
-        start = System.currentTimeMillis();
         ColumnFamily columnFamily = ColumnFamily.serializer().deserialize(bufIn, cf, filter);
-		logger_.debug("DISK Deserialize TIME: " + (System.currentTimeMillis() - start) + " ms.");
 		if (columnFamily == null)
 			return null;
 		return columnFamily;



Mime
View raw message