You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//forward modifications to overflow
val listener = MapModificationListener<K, V> { key, oldVal, newVal, triggered ->
if (!triggered && newVal == null && oldVal != null) {
//removal, also remove from overflow map
val oldVal2 = expireOverflow.remove(key)
//@shoud be: !_valueSerializer.equals(oldVal as V, oldVal2 as V)
if (oldVal2 != null && _valueSerializer.equals(oldVal as V, oldVal2 as V)) {
Utils.LOG.warning { "Key also removed from overflow Map, but value in overflow Map differs" }
}
} else if (triggered && newVal == null) {
// triggered by eviction, put evicted entry into overflow map
expireOverflow.put(key, oldVal)
}
}
The text was updated successfully, but these errors were encountered:
//@shoud be: !_valueSerializer.equals(oldVal as V, oldVal2 as V)
if (oldVal2 != null && _valueSerializer.equals(oldVal as V, oldVal2 as V)) {
Utils.LOG.warning { "Key also removed from overflow Map, but value in overflow Map differs" }
}
DB.kt 733 — 744 line
The text was updated successfully, but these errors were encountered: