]
Tristan Tarrant updated ISPN-5584:
----------------------------------
Fix Version/s: 9.1.0.Final
(was: 9.0.0.Final)
Support fine-grained write skew check for FineGrainedAtomicMap
entries
----------------------------------------------------------------------
Key: ISPN-5584
URL:
https://issues.jboss.org/browse/ISPN-5584
Project: Infinispan
Issue Type: Feature Request
Components: Core
Affects Versions: 8.0.0.Alpha2, 7.2.3.Final
Reporter: Dan Berindei
Fix For: 9.1.0.Final
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.