[infinispan-issues] [JBoss JIRA] (ISPN-10377) listener CacheEntryExpired callback , key is not locked

Dan Berindei (Jira) issues at jboss.org
Thu Nov 14 06:51:00 EST 2019


     [ https://issues.jboss.org/browse/ISPN-10377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-10377:
--------------------------------
    Issue Type: Feature Request  (was: Bug)


> 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!



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list