mirror of https://github.com/apache/cassandra
Fix trying to load deleted row into row cache on startup
patch by jbellis; reviewed by dbrosius for CASSANDRA-4463
This commit is contained in:
parent
4a010ed912
commit
feae9efa42
|
|
@ -1,4 +1,5 @@
|
|||
1.1.11
|
||||
* Fix trying to load deleted row into row cache on startup (CASSANDRA-4463)
|
||||
* Update offline scrub for 1.0 -> 1.1 directory structure (CASSANDRA-5195)
|
||||
* add tmp flag to Descriptor hashcode (CASSANDRA-4021)
|
||||
* fix logging of "Found table data in data directories" when only system tables
|
||||
|
|
|
|||
|
|
@ -457,7 +457,8 @@ public class ColumnFamilyStore implements ColumnFamilyStoreMBean
|
|||
ColumnFamily data = getTopLevelColumns(QueryFilter.getIdentityFilter(key, new QueryPath(columnFamily)),
|
||||
Integer.MIN_VALUE,
|
||||
true);
|
||||
CacheService.instance.rowCache.put(new RowCacheKey(metadata.cfId, key), data);
|
||||
if (data != null)
|
||||
CacheService.instance.rowCache.put(new RowCacheKey(metadata.cfId, key), data);
|
||||
cachedRowsRead++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue