cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1156247 - /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
Date Wed, 10 Aug 2011 16:08:31 GMT
Author: jbellis
Date: Wed Aug 10 16:08:31 2011
New Revision: 1156247

URL: http://svn.apache.org/viewvc?rev=1156247&view=rev
Log:
revert unreviewed CFS change

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

Modified: cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/ColumnFamilyStore.java?rev=1156247&r1=1156246&r2=1156247&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
(original)
+++ cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
Wed Aug 10 16:08:31 2011
@@ -1766,15 +1766,11 @@ public class ColumnFamilyStore implement
     public void invalidateRowCache()
     {
         rowCache.clear();
-        if (!rowCache.getCachePath().delete())
-            logger.error("RowCache " + columnFamily + " delete failed.");
     }
 
     public void invalidateKeyCache()
     {
         keyCache.clear();
-        if (!keyCache.getCachePath().delete())
-            logger.error("KeyCache " + columnFamily + " delete failed.");
     }
 
     public int getRowCacheCapacity()



Mime
View raw message