[infinispan-issues] [JBoss JIRA] (ISPN-8545) OffHeap size count doesn't work properly with VERSION or CUSTOM metadata

Tristan Tarrant (JIRA) issues at jboss.org
Wed Nov 29 15:52:00 EST 2017


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

Tristan Tarrant updated ISPN-8545:
----------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> OffHeap size count doesn't work properly with VERSION or CUSTOM metadata
> ------------------------------------------------------------------------
>
>                 Key: ISPN-8545
>                 URL: https://issues.jboss.org/browse/ISPN-8545
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Off Heap
>    Affects Versions: 9.2.0.Beta1, 9.1.3.Final
>            Reporter: William Burns
>            Assignee: William Burns
>             Fix For: 9.2.0.Beta2, 9.1.4.Final
>
>
> Off heap added a new getSize method on OffHeapEntryFactory. Unfortunately when using a VERSION or CUSTOM metadata we are adding 4 to the metadataSize instead of the offsetSize. This means that the value size is actually the metadata size on accident.
> https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/container/offheap/OffHeapEntryFactoryImpl.java#L182



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list