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

Scattered Cache put with a store doesn't work if value is evicted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 13.0.2.Final
    • Core, Loaders and Stores
    • None

    Description

      ScatteredCache checks for conflicts before writing to the store at https://github.com/infinispan/infinispan/blob/main/core/src/main/java/org/infinispan/persistence/manager/OrderedUpdatesManagerImpl.java#L52. However, if you have eviction and the value is evicted before this check, which is guaranteed to happen if you have a putAll with number of entries > max size it will not persist the entry to any store.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: