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

Deadlock on closing of PersistenceManagerImpl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 13.0.7.Final, 14.0.0.Dev02
    • 12.1.7.Final
    • Core
    • None

    Description

      When shutting down the PersistenceManagerImpl with close(), it acquires a write lock. Then it waits for the stores to complete.

      At the same time some other process would access the remote cache and for example remove or add entries. For that it requires a read lock that it can't acquire while the write lock has already been taken.

      Attachments

        Activity

          People

            wburns@redhat.com Will Burns
            aschwart@redhat.com Alexander Schwartz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: