]
Dan Berindei updated ISPN-6680:
-------------------------------
Labels: testsuite_stability (was: )
InterruptedException during PutAll from Hot Rod client prevents
failover
------------------------------------------------------------------------
Key: ISPN-6680
URL:
https://issues.jboss.org/browse/ISPN-6680
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.0.0.Alpha2
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Labels: testsuite_stability
Fix For: 9.0.0.Alpha3
The server throws an InterruptedException during the PutAllCommand:
{noformat}
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)
{noformat}
That gets propagated to the client that does not recover from the error:
{noformat}
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)
{noformat}