Author: jbellis Date: Thu Aug 11 20:05:38 2011 New Revision: 1156791 URL: http://svn.apache.org/viewvc?rev=1156791&view=rev Log: revert r1156772
Modified: cassandra/branches/cassandra-0.8/CHANGES.txt cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/ColumnFamilyStore.java Modified: cassandra/branches/cassandra-0.8/CHANGES.txt URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/CHANGES.txt?rev=1156791&r1=1156790&r2=1156791&view=diff ============================================================================== --- cassandra/branches/cassandra-0.8/CHANGES.txt (original) +++ cassandra/branches/cassandra-0.8/CHANGES.txt Thu Aug 11 20:05:38 2011 @@ -3,7 +3,6 @@ * include column name in validation failure exceptions (CASSANDRA-2849) * make sure truncate clears out the commitlog so replay won't re- populate with truncated data (CASSANDRA-2950) - * cache invalidate removes saved cache files (CASSANDRA-2325) 0.8.4 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=1156791&r1=1156790&r2=1156791&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 Thu Aug 11 20:05:38 2011 @@ -1767,15 +1767,11 @@ public class ColumnFamilyStore implement public void invalidateRowCache() { rowCache.clear(); - if (rowCache.getCachePath().exists()) - rowCache.getCachePath().delete(); } public void invalidateKeyCache() { keyCache.clear(); - if (keyCache.getCachePath().exists()) - keyCache.getCachePath().delete(); } public int getRowCacheCapacity()