mirror of https://github.com/apache/cassandra
java.lang.AssertionError when reading saved cache
Patch by Benedict Elliott Smith; Reviewed by Robert Stupp for CASSANDRA-8740
This commit is contained in:
parent
1e09482a38
commit
c94da6c63e
|
|
@ -1,4 +1,5 @@
|
|||
2.0.14:
|
||||
* java.lang.AssertionError when reading saved cache (CASSANDRA-8740)
|
||||
* "disk full" when running cleanup (CASSANDRA-9036)
|
||||
* Make PasswordAuthenticator number of hashing rounds configurable (CASSANDRA-8085)
|
||||
* Lower logging level from ERROR to DEBUG when a scheduled schema pull
|
||||
|
|
|
|||
|
|
@ -127,7 +127,8 @@ public class AutoSavingCache<K extends CacheKey, V> extends InstrumentingCache<K
|
|||
for (Future<Pair<K, V>> future : futures)
|
||||
{
|
||||
Pair<K, V> entry = future.get();
|
||||
put(entry.left, entry.right);
|
||||
if (entry != null && entry.right != null)
|
||||
put(entry.left, entry.right);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
|
|||
Loading…
Reference in New Issue