]
Dan Berindei commented on ISPN-10377:
-------------------------------------
I've changed the type from bug to feature request because the {{CacheEntryExpired}}
listener is intentionally not invoked while holding the lock (with {{pre == true}}).
listener CacheEntryExpired callback , key is not locked
-------------------------------------------------------
Key: ISPN-10377
URL:
https://issues.jboss.org/browse/ISPN-10377
Project: Infinispan
Issue Type: Feature Request
Components: API
Affects Versions: 9.4.15.Final
Reporter: Alexander Malysh
Assignee: Will Burns
Priority: Major
Attachments: CacheTest1.java, infinispan-test.xml
Hi,
it looks like that CacheEntryExpired callback is called without a key lock held like
CacheEntryRemoved. In this scenario I'm unable to synchronize keys if reaper thread is
enabled.
I'm attaching simple test case that will show this issue. Because it's a
classical race condition please start this test multiple times if result should be ok.
Thanks in advance!