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

Support fine-grained write skew check for FineGrainedAtomicMap entries

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: Major Major
    • 9.2.0.Final
    • 8.0.0.Alpha2, 7.2.3.Final
    • Core
    • None

      FineGrainedAtomicMap doesn't currently work with write skew check enabled.

      I was able to make it work by adding a special case for DeltaAwareCacheEntry in WriteSkewHelper, however the map has a single version, so the write skew check fails if any of the sub-keys were modified in parallel. With pessimistic locking, fine-grained maps allow the user to modify different sub-keys concurrently, we should allow the same with optimistic locking.

              Unassigned Unassigned
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: