Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8545

OffHeap size count doesn't work properly with VERSION or CUSTOM metadata

    XMLWordPrintable

    Details

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            wburns@redhat.com Will Burns
            Reporter:
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: