Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10377

listener CacheEntryExpired callback , key is not locked

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • 9.4.15.Final
    • API
    • None

    Description

      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!

      Attachments

        Activity

          People

            wburns@redhat.com Will Burns
            amalysh Alexander Malysh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: