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

MarshallableEntryImpl should not eagerly unmarshall object key and values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 13.0.0.Dev03, 12.1.7.Final
    • Fix Version/s: 13.0.0.Dev04
    • Component/s: Marshalling
    • Labels:
      None

      Description

      The Object constructor for MarshallableEntryImpl eagerly marshalls the key, value, metadata and private metadata. This is not needed as this is used for load/publish purposes. If the store already provides the unmarshalled values, there is no reason for Infinispan to marshall them as it will store these in the storage format instead.
      We should remove these lines https://github.com/infinispan/infinispan/blob/ed32d9055268d11b58ace243f1cba9044faaae87/core/src/main/java/org/infinispan/marshall/persistence/impl/MarshallableEntryImpl.java#L40-L42

        Attachments

          Activity

            People

            Assignee:
            william.burns Will Burns
            Reporter:
            william.burns Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: