]
Karsten Blees updated ISPN-5559:
--------------------------------
Summary: "AsyncCacheWriter is dead!" errors cause deadlock or unbounded use
of memory (was: "AsycCacheWriter is dead!" errors cause deadlock or unbounded
use of memory)
"AsyncCacheWriter 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: 5.3.0.Final, 6.0.0.Final, 7.0.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).