cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1156830 - /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/compaction/CompactionController.java
Date Thu, 11 Aug 2011 21:07:36 GMT
Author: jbellis
Date: Thu Aug 11 21:07:36 2011
New Revision: 1156830

URL: http://svn.apache.org/viewvc?rev=1156830&view=rev
Log:
log ks and cf of large rows being compacted
patch by Ryan King; reviewed by jbellis for CASSANDRA-3019

Modified:
    cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/compaction/CompactionController.java

Modified: cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/compaction/CompactionController.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/compaction/CompactionController.java?rev=1156830&r1=1156829&r2=1156830&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/compaction/CompactionController.java
(original)
+++ cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/compaction/CompactionController.java
Thu Aug 11 21:07:36 2011
@@ -133,8 +133,8 @@ public class CompactionController
 
         if (rowSize > DatabaseDescriptor.getInMemoryCompactionLimit())
         {
-            logger.info(String.format("Compacting large row %s (%d bytes) incrementally",
-                                      ByteBufferUtil.bytesToHex(rows.get(0).getKey().key),
rowSize));
+            logger.info(String.format("Compacting large row %s (%d bytes) incrementally (keyspace:
%s, cf: %s)",
+                                      ByteBufferUtil.bytesToHex(rows.get(0).getKey().key),
rowSize), cfs.table.name, cfs.columnFamily);
             return new LazilyCompactedRow(this, rows);
         }
         return new PrecompactedRow(this, rows);



Mime
View raw message