]
Ryan Emerson resolved ISPN-9777.
--------------------------------
Fix Version/s: 9.1.8.Final
Resolution: Done
Default AdvancedCacheLoader#publishEntries can hang with more than
2048 entries
-------------------------------------------------------------------------------
Key: ISPN-9777
URL:
https://issues.jboss.org/browse/ISPN-9777
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 9.3.0.Final
Reporter: William Burns
Assignee: William Burns
Priority: Major
Fix For: 9.1.8.Final, 10.0.0.Alpha2
The default method for AdvancedCacheLoader#publishEntries relies on the invocation of the
process method. This uses the PersistenceManagerCloseableSupplier to handle this.
Unfortunately it uses a WithinThreadExecutor, which actually can cause the process method
to deadlock with a single thread as it can fill up the queue of 2048 elements.
We should instead use a single threaded executor which would allow the loading of
elements and retrieval in parallel on 2 different threads.