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

FineGrainedAtomicMap implementation fails to consider removal of elements

    XMLWordPrintable

Details

    • High

    Description

      Most methods in the org.infinispan.atomic.FineGrainedAtomicHashMapProxy<K, V> implementation seem to ignore the use case of removing keys from the map.

      keySet(), values(), entrySet(), size(), isEmpty()
      all ignore the fact that values in the uncommitted map might have been removed in the current transaction, or have intersections with existing keys.

      Note that failing to consider intersections has it return the wrong entries as committed values overwrite the in-flight values.

      Methods like containsKey don't check if the matched key is in fact stored in the DeltaAwareCacheEntry as a deleted entry.

      Attachments

        Activity

          People

            vblagoje Vladimir Blagojevic (Inactive)
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: