[infinispan-issues] [JBoss JIRA] (ISPN-9777) Default AdvancedCacheLoader#publishEntries can hang with more than 2048 entries
Ryan Emerson (Jira)
issues at jboss.org
Fri Nov 30 03:44:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-9777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list