[JBoss JIRA] (ISPN-10377) listener CacheEntryExpired callback , key is not locked
by Alexander Malysh (Jira)
Alexander Malysh created ISPN-10377:
---------------------------------------
Summary: listener CacheEntryExpired callback , key is not locked
Key: ISPN-10377
URL: https://issues.jboss.org/browse/ISPN-10377
Project: Infinispan
Issue Type: Bug
Components: API
Affects Versions: 9.4.15.Final
Reporter: Alexander Malysh
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!
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
4 years, 10 months