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

Tristan Tarrant (Jira) issues at jboss.org
Thu Jul 4 04:59:00 EDT 2019


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

Tristan Tarrant reassigned ISPN-10377:
--------------------------------------

    Assignee: Will Burns


> 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
>            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.12.1#712002)


More information about the infinispan-issues mailing list