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

Do not persist empty metadata

    XMLWordPrintable

Details

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

    Description

      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.

      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: