cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject svn commit: r1091503 - /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/CompactionManager.java
Date Tue, 12 Apr 2011 17:13:13 GMT
Author: slebresne
Date: Tue Apr 12 17:13:13 2011
New Revision: 1091503

URL: http://svn.apache.org/viewvc?rev=1091503&view=rev
Log:
Make clean compactions cleanup the row cache
patch by slebresne; reviewed by jbellis for CASSANDRA-2451

Modified:
    cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/CompactionManager.java

Modified: cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/CompactionManager.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/CompactionManager.java?rev=1091503&r1=1091502&r2=1091503&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/CompactionManager.java
(original)
+++ cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/CompactionManager.java
Tue Apr 12 17:13:13 2011
@@ -721,6 +721,7 @@ public class CompactionManager implement
                     }
                     else
                     {
+                        cfs.invalidateCachedRow(row.getKey());
                         while (row.hasNext())
                         {
                             IColumn column = row.next();



Mime
View raw message