]
William Burns updated ISPN-8923:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
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.