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

TimeoutException: Replication timeout in DIST_ASYNC mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.2.1.CR2, 4.2.1.FINAL
    • 4.2.0.Final
    • None
    • None

    Description

      I'm running a simple unit test for checking our Infinispan setup. The test involves starting two instances of Infinispan with a single cache in DIST_ASYNC mode.

      The test creates the cache and start putting new values every X ms.

      After starting the 2nd or 3rd test instance I'm always getting the following exception:

       
      org.infinispan.util.concurrent.TimeoutException: Replication timeout for DRORB-LAP-TAN-26976
      
              at org.infinispan.remoting.transport.AbstractTransport.parseResponseAndAddToResponseList(AbstractTransport.java:49)
      
              at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:414)
      
              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:101)
      
              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:125)
      
              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:230)
      
              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:217)
      
              at org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcManagerImpl.java:200)
      
              at org.infinispan.distribution.JoinTask.performRehash(JoinTask.java:132)
      
              at org.infinispan.distribution.RehashTask.call(RehashTask.java:53)
      
              at org.infinispan.distribution.RehashTask.call(RehashTask.java:33)
      
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      
              at java.lang.Thread.run(Thread.java:662)
      

      Disabling the L1 cache resolves the problem.
      Attached are the configuration files, test console output and the test source code.

      Attachments

        1. InfinispanClusterTest.java
          2 kB
        2. infinispan-test.xml
          3 kB
        3. jgroups-test.xml
          1 kB
        4. unit-test-1.log
          67 kB
        5. unit-test-2.log
          25 kB

        Activity

          People

            manik_jira Manik Surtani (Inactive)
            dror76 Dror Bereznitsky (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: