0 Replies Latest reply on Feb 14, 2016 3:17 AM by saranya guna

    infinispan-core 5.2.10

    saranya guna Newbie

      Hi All,

       

      We are using infinispan-core 5.2.10.

      Infinispan configuration:

      new ConfigurationBuilder().clustering().cacheMode(CacheMode.REPL_SYNC).sync().locking().isolationLevel(IsolationLevel.READ_COMMITTED).useLockStriping(false).lockAcquisitionTimeout(600000L).transaction().lockingMode(LockingMode.PESSIMISTIC).transactionMode(TransactionMode.TRANSACTIONAL).transactionManagerLookup(new JBossTransactionManagerLookup()).build()

       

      But getting below exception while adding entry to the cache. This issue occurs while there some load on the system.We have clustered setup with four nodes.

       

       

      org.infinispan.util.concurrent.TimeoutException: Replication timeout for test-000c29b67c8c-55564

          at org.infinispan.remoting.transport.AbstractTransport.parseResponseAndAddToResponseList(AbstractTransport.java:96) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:541) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:173) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:194) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:251) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:238) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:233) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcManagerImpl.java:212) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.ReplicationInterceptor.visitLockControlCommand(ReplicationInterceptor.java:159) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.commands.control.LockControlCommand.acceptVisitor(LockControlCommand.java:131) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:134) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.commands.AbstractVisitor.visitLockControlCommand(AbstractVisitor.java:177) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.commands.control.LockControlCommand.acceptVisitor(LockControlCommand.java:131) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.locking.PessimisticLockingInterceptor.acquireRemoteIfNeeded(PessimisticLockingInterceptor.java:290) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.locking.PessimisticLockingInterceptor.visitReplaceCommand(PessimisticLockingInterceptor.java:193) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.commands.write.ReplaceCommand.acceptVisitor(ReplaceCommand.java:68) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

       

      [org.infinispan.interceptors.InvocationContextInterceptor] (OOB-169,space-000c29b67c8c-55564) ISPN000136: Execution error: org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [10 minutes] on key [8618705_1455183332008] for requestor [GlobalTransaction:<test-000c29741561-46509>:12117:remote]! Lock held by [GlobalTransaction:<test-000c299801ec-40980>:5258:remote]

          at org.infinispan.util.concurrent.locks.LockManagerImpl.lock(LockManagerImpl.java:213) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.util.concurrent.locks.LockManagerImpl.acquireLock(LockManagerImpl.java:186) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.lockKeyAndCheckOwnership(AbstractTxLockingInterceptor.java:192) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.lockAndRegisterBackupLock(AbstractTxLockingInterceptor.java:129) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.locking.PessimisticLockingInterceptor.visitLockControlCommand(PessimisticLockingInterceptor.java:253) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.commands.control.LockControlCommand.acceptVisitor(LockControlCommand.java:131) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:134) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.commands.AbstractVisitor.visitLockControlCommand(AbstractVisitor.java:177) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.commands.control.LockControlCommand.acceptVisitor(LockControlCommand.java:131) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.TxInterceptor.invokeNextInterceptorAndVerifyTransaction(TxInterceptor.java:128) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.TxInterceptor.visitLockControlCommand(TxInterceptor.java:186) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.commands.control.LockControlCommand.acceptVisitor(LockControlCommand.java:131) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

          at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

       

       

      Please, let me know what would be the root cause of the issue.