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

William Burns (Jira) issues at jboss.org
Wed Oct 24 14:59:00 EDT 2018


William Burns created ISPN-9641:
-----------------------------------

             Summary: 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
             Fix For: 9.4.1.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