Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11386

Use blocking thread pool in Persistent preload

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.0.0.Alpha2
    • None
    • Core
    • None

      When preload on a transactional cache, the preload blocks until the transactions is committed.

      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/:?]
      

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: