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

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

    XMLWordPrintable

Details

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

    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

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

            Dates

              Created:
              Updated:
              Resolved: