[infinispan-issues] [JBoss JIRA] (ISPN-8923) PersistenceManagerCloseableSupplier can timeout if store produces entries too fast

Tristan Tarrant (JIRA) issues at jboss.org
Wed Mar 14 04:18:00 EDT 2018


     [ https://issues.jboss.org/browse/ISPN-8923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-8923:
----------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s:     (was: 9.3.0.Final)
         Assignee: William Burns
       Resolution: Done


> 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
>            Assignee: William Burns
>             Fix For: 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