[infinispan-issues] [JBoss JIRA] (ISPN-8923) PersistenceManagerCloseableSupplier can timeout if store produces entries too fast
William Burns (JIRA)
issues at jboss.org
Thu Mar 8 01:22:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-8923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Burns updated ISPN-8923:
--------------------------------
Status: Open (was: New)
> PersistenceManagerCloseableSupplier can timeout if store produces entries too fast
> ----------------------------------------------------------------------------------
>
> Key: ISPN-8923
> URL: https://issues.jboss.org/browse/ISPN-8923
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 9.2.0.Final
> Reporter: William Burns
> Fix For: 9.3.0.Final, 9.2.1.Final, 9.1.7.Final
>
>
> PersistenceManagerCloseableSupplier get method polls the queue then locks the lock. It doesn't recheck the queue inside the lock. Thus if a loader fills up the entire queue before the get method can acquire the lock, this will cause the get method to timeout. Instead we should change the check inside the lock to always poll the queue.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list