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

Deadlock on closing of PersistenceManagerImpl

XMLWordPrintable

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

      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.

        1. stack2.txt
          343 kB
          Alexander Schwartz

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

                Created:
                Updated:
                Resolved: