[
https://issues.jboss.org/browse/ISPN-9342?page=com.atlassian.jira.plugin....
]
Gustavo Fernandes updated ISPN-9342:
------------------------------------
Description:
If multiple puts are done concurrently for the first time in an indexed cache, the
QueryInterceptor will bottleneck in the entity class internal registration, causing
Timeout exceptions.
{noformat}
ERROR: ISPN000136: Error executing command PrepareCommand, writing keys
[KeyValuePair{key=qci-cache, value=class
com.gustavonalle.infinispan.perf.domain.Transaction}]
org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after
10 seconds for key KeyValuePair{key=qci-cache, value=class
com.gustavonalle.infinispan.perf.domain.Transaction} and requestor
GlobalTransaction:<jedha-4472>:2:remote. Lock is held by
GlobalTransaction:<jedha-26225>:1:local
at
org.infinispan.util.concurrent.locks.impl.DefaultLockManager$KeyAwareExtendedLockPromise.lock(DefaultLockManager.java:238)
at
org.infinispan.interceptors.locking.AbstractLockingInterceptor.lockAllAndRecord(AbstractLockingInterceptor.java:202)
at
org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.checkPendingAndLockAllKeys(AbstractTxLockingInterceptor.java:200)
at
org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.lockAllOrRegisterBackupLock(AbstractTxLockingInterceptor.java:166)
at
org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPrepareCommand(OptimisticLockingInterceptor.java:74)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:176)
{noformat}
was:If multiple puts are done concurrently for the first time in an indexed cache, the
QueryInterceptor will bottleneck in the entity class internal registration, causing
Timeout exceptions
Lock timeout when writing to index caches for the first time
------------------------------------------------------------
Key: ISPN-9342
URL:
https://issues.jboss.org/browse/ISPN-9342
Project: Infinispan
Issue Type: Bug
Components: Embedded Querying, Remote Querying
Affects Versions: 9.3.0.Final
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
If multiple puts are done concurrently for the first time in an indexed cache, the
QueryInterceptor will bottleneck in the entity class internal registration, causing
Timeout exceptions.
{noformat}
ERROR: ISPN000136: Error executing command PrepareCommand, writing keys
[KeyValuePair{key=qci-cache, value=class
com.gustavonalle.infinispan.perf.domain.Transaction}]
org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after
10 seconds for key KeyValuePair{key=qci-cache, value=class
com.gustavonalle.infinispan.perf.domain.Transaction} and requestor
GlobalTransaction:<jedha-4472>:2:remote. Lock is held by
GlobalTransaction:<jedha-26225>:1:local
at
org.infinispan.util.concurrent.locks.impl.DefaultLockManager$KeyAwareExtendedLockPromise.lock(DefaultLockManager.java:238)
at
org.infinispan.interceptors.locking.AbstractLockingInterceptor.lockAllAndRecord(AbstractLockingInterceptor.java:202)
at
org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.checkPendingAndLockAllKeys(AbstractTxLockingInterceptor.java:200)
at
org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.lockAllOrRegisterBackupLock(AbstractTxLockingInterceptor.java:166)
at
org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPrepareCommand(OptimisticLockingInterceptor.java:74)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:176)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)