[infinispan-issues] [JBoss JIRA] (ISPN-9641) Using expiration with off heap doesn't subtract size properly with expiration

Dan Berindei (Jira) issues at jboss.org
Fri Oct 26 03:20:00 EDT 2018


     [ https://issues.jboss.org/browse/ISPN-9641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list