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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.1.4.Final, 9.2.0.Final
    • 9.1.3.Final, 9.2.0.Final
    • Off Heap
    • None

      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

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: