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

Do not persist empty metadata

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 15.0.0.Final
    • 14.0.7.Final
    • Expiration
    • None

      We should reuse EmbeddedMetadata.EMPTY whenever possible instead of creating a new EmbeddedMetadata when lifespan and/or maxIdle is < 0.

      Also we can then detect EmbeddedMetadata.EMPTY in persistence layer and we then don't need to write those bytes to the underlying store.

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

                Created:
                Updated:
                Resolved: