[infinispan-issues] [JBoss JIRA] (ISPN-5559) "AsycCacheWriter is dead!" errors cause deadlock or unbounded use of memory

Karsten Blees (JIRA) issues at jboss.org
Wed Jun 17 09:08:02 EDT 2015


Karsten Blees created ISPN-5559:
-----------------------------------

             Summary: "AsycCacheWriter is dead!" errors cause deadlock or unbounded use of memory
                 Key: ISPN-5559
                 URL: https://issues.jboss.org/browse/ISPN-5559
             Project: Infinispan
          Issue Type: Bug
          Components: Core, Loaders and Stores
    Affects Versions: 7.0.0.Final, 6.0.0.Final, 5.3.0.Final
            Reporter: Karsten Blees


Caused by a relatively small AsyncStore shutdownTimeout (default 25s) in conjunction with large queue sizes or slow back-end stores.

With assertions enabled, the coordinator thread will exit with AssertionError and the AsyncStore will deadlock, as no more changes are beeing processed.

With assertions disabled, the coordinator thread will allocate an unbounded number of AsyncStoreProcessors. If AsyncStoreProcessors were multithreaded (see ISPN-3532), this would cause loss of data (due to older changes overwriting newer changes in the back-end store).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the infinispan-issues mailing list