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

William Burns (JIRA) issues at jboss.org
Wed Mar 7 22:14:00 EST 2018


William Burns created ISPN-8923:
-----------------------------------

             Summary: 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