1 Reply Latest reply on Dec 6, 2016 10:26 PM by Sebastian Łaskawiec

    org.infinispan.util.concurrent.TimeoutException: Replication timeout

    binu andrews Newbie

      Hi,

       

      This is the cluster structure: we have 4 instance of Infinispan runs in 2 servers:   Server 1 (Instance1, Instance2) plus Server2(Instance1, Instance2)

      We are loading the distributed cache(numSegments=2) with around 100 thousand entries.

      We are bringing down Instance1 in Server2. Once It is down, we are trying to get the entries details from remaining Instances.

       

      But, Getting below mentioned error message. I am using infinispan 8.2.3.Final as distributed cluster. Please help me to sort out this issue.

       

      ***************************************************************************************************************************************************************

      2016-11-30 15:36:37 ERROR InvocationContextInterceptor:140 - ISPN000136: Error executing command SizeCommand, writing keys []

      java.util.concurrent.CompletionException: org.infinispan.util.concurrent.TimeoutException: Replication timeout for TOMCAT-1-4-37232

              at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)

              at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)

              at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:824)

              at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797)

              at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)

              at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)

              at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:46)

              at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:17)

              at java.util.concurrent.FutureTask.run(FutureTask.java:266)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

              at java.lang.Thread.run(Thread.java:745)

      Caused by: org.infinispan.util.concurrent.TimeoutException: Replication timeout for TOMCAT-1-4-37232

              at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:801)

              at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$0(JGroupsTransport.java:629)

              at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)

              at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)

              ... 10 more

      ***************************************************************************************************************************************************************

       

      Regards

      Binu