]
Dan Berindei updated ISPN-9641:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.3.4.Final
Resolution: Done
Using expiration with off heap doesn't subtract size properly
with expiration
-----------------------------------------------------------------------------
Key: ISPN-9641
URL:
https://issues.jboss.org/browse/ISPN-9641
Project: Infinispan
Issue Type: Bug
Components: Off Heap
Affects Versions: 9.4.0.Final
Reporter: William Burns
Assignee: William Burns
Priority: Major
Fix For: 9.4.1.Final, 9.3.4.Final, 10.0.0.Alpha1
The OffHeapEntryFactoryImpl#getSize method is invoked when removing an entry.
Unfortunately we don't add in the size for expiration (lifespan/maxidle). This can
cause the count to think there are more bytes than there actually are, eventually evicting
entries erroneously.