]
Pedro Ruivo updated ISPN-11386:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Use blocking thread pool in Persistent preload
----------------------------------------------
Key: ISPN-11386
URL:
https://issues.redhat.com/browse/ISPN-11386
Project: Infinispan
Issue Type: Bug
Components: Core
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
Priority: Major
Fix For: 11.0.0.Alpha2
When preload on a transactional cache, the preload blocks until the transactions is
committed.
{noformat}
org.infinispan.commons.CacheException: java.lang.AssertionError: Blocking call!
jdk.internal.misc.Unsafe#park on thread
Thread[non-blocking-thread-IracMetadataStoreTest-NodeB-p50782-t1,5,main]
at
org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:259)
~[classes/:?]
at
org.infinispan.transaction.impl.TransactionCoordinator.commitInternal(TransactionCoordinator.java:218)
~[classes/:?]
at
org.infinispan.transaction.impl.TransactionCoordinator.commit(TransactionCoordinator.java:162)
~[classes/:?]
at
org.infinispan.transaction.xa.XaTransactionTable.commit(XaTransactionTable.java:119)
~[classes/:?]
at
org.infinispan.transaction.xa.TransactionXaAdapter.commit(TransactionXaAdapter.java:68)
~[classes/:?]
at
com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelOnePhaseCommit(XAResourceRecord.java:702)
~[narayana-jta-5.9.8.Final.jar:5.9.8.Final (revision: 92f28)]
at
com.arjuna.ats.arjuna.coordinator.BasicAction.onePhaseCommit(BasicAction.java:2386)
~[narayana-jta-5.9.8.Final.jar:5.9.8.Final (revision: 92f28)]
at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1497)
~[narayana-jta-5.9.8.Final.jar:5.9.8.Final (revision: 92f28)]
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:96)
~[narayana-jta-5.9.8.Final.jar:5.9.8.Final (revision: 92f28)]
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
~[narayana-jta-5.9.8.Final.jar:5.9.8.Final (revision: 92f28)]
at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1287)
~[narayana-jta-5.9.8.Final.jar:5.9.8.Final (revision: 92f28)]
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126)
~[narayana-jta-5.9.8.Final.jar:5.9.8.Final (revision: 92f28)]
at
org.infinispan.persistence.manager.PersistenceManagerImpl.commitIfNeeded(PersistenceManagerImpl.java:1452)
~[classes/:?]
at
org.infinispan.persistence.manager.PersistenceManagerImpl.preloadKey(PersistenceManagerImpl.java:1408)
~[classes/:?]
{noformat}