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

InterruptedException during PutAll from Hot Rod client prevents failover

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      The server throws an InterruptedException during the PutAllCommand:

      2016-05-19 10:28:06,407 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRodServerHandler-4-22) ISPN000136: Error executing command PutMapCommand, writing keys [[B0x034b0000005a, [B0x034b0000005d, [B0x034b0000005b, [B0x034b0000005c, [B0x034b0000005e]: java.lang.InterruptedException
              at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:347)
              at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1907)
              at org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutMapCommand(NonTxDistributionInterceptor.java:201)
              at org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutMapCommand(NonTxDistributionInterceptor.java:67)
              at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
              at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.doInvokeNextSync(BaseSequentialInvocationContext.java:265)
              at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.forkInvocationSync(BaseSequentialInvocationContext.java:90)
              at org.infinispan.interceptors.impl.EntryWrappingInterceptor.invokeNextAndApplyChanges(EntryWrappingInterceptor.java:515)
              at org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForPutMapCommand(EntryWrappingInterceptor.java:563)
              at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutMapCommand(EntryWrappingInterceptor.java:311)
              at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutMapCommand(EntryWrappingInterceptor.java:77)
              at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
              at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.doInvokeNextSync(BaseSequentialInvocationContext.java:265)
      

      That gets propagated to the client that does not recover from the error:

      org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=218 returned server error (status=0x85): org.infinispan.commons.CacheException: java.lang.InterruptedException
      java.lang.InterruptedException
      	at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.executeParallel(ParallelHotRodOperation.java:79)
      	at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.execute(ParallelHotRodOperation.java:50)
      	at org.infinispan.client.hotrod.impl.RemoteCacheImpl.putAll(RemoteCacheImpl.java:223)
      	at org.infinispan.client.hotrod.impl.RemoteCacheSupport.putAll(RemoteCacheSupport.java:49)
      

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: