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

FineGrainedAtomicMap implementation fails to consider removal of elements

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 5.2.0.Final
    • 5.1.5.FINAL, 5.2.0.Final
    • Core
    • High

      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.

              vblagoje Vladimir Blagojevic (Inactive)
              sgrinove Sanne Grinovero (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: