A Hot Rod client does not work correct if getAll(...) is used in JDG6

Solution Verified - Updated -

Issue

  • If I use getAll(aListOfKeys) the result is not as expected, it seems inconsistent. What is the reason?
  • A HotRod client fail and show a WARN message
WARN: ISPN004005: Error received from the server: org.infinispan.util.concurrent.TimeoutException: Timed out waiting for topology
  • The server.log shows an Exception if a HotRod client use the getAll() method to retrieve a bunch of entries
ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (HotRodServerWorker-1) ISPN000136: Execution error: org.infinispan.util.concurrent.TimeoutException: Timed out waiting for topology 3
    at org.infinispan.statetransfer.StateTransferLockImpl.waitForTransactionData(StateTransferLockImpl.java:93) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.statetransfer.StateTransferInterceptor.visitGetAllCommand(StateTransferInterceptor.java:192) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.commands.read.GetAllCommand.acceptVisitor(GetAllCommand.java:59) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.interceptors.CacheMgmtInterceptor.visitGetAllCommand(CacheMgmtInterceptor.java:118) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.commands.read.GetAllCommand.acceptVisitor(GetAllCommand.java:59) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.interceptors.compat.BaseTypeConverterInterceptor.visitGetAllCommand(BaseTypeConverterInterceptor.java:139) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.commands.read.GetAllCommand.acceptVisitor(GetAllCommand.java:59) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:104) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:73) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.commands.AbstractVisitor.visitGetAllCommand(AbstractVisitor.java:90) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.commands.read.GetAllCommand.acceptVisitor(GetAllCommand.java:59) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:336) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.CacheImpl.getAll(CacheImpl.java:465) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.DecoratedCache.getAll(DecoratedCache.java:408) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.AbstractDelegatingAdvancedCache.getAll(AbstractDelegatingAdvancedCache.java:200) [infinispan-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.server.hotrod.Decoder2x$.customReadValue(Decoder2x.scala:457) [infinispan-server-hotrod-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.server.hotrod.HotRodDecoder.customDecodeValue(HotRodDecoder.scala:199) [infinispan-server-hotrod-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.server.hotrod.HotRodDecoder.org$infinispan$server$hotrod$HotRodDecoder$$decodeValue(HotRodDecoder.scala:138) [infinispan-server-hotrod-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.server.hotrod.HotRodDecoder$$anonfun$decode$1.apply$mcV$sp(HotRodDecoder.scala:50) [infinispan-server-hotrod-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.server.hotrod.HotRodDecoder.wrapSecurity(HotRodDecoder.scala:208) [infinispan-server-hotrod-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.server.hotrod.HotRodDecoder.decode(HotRodDecoder.scala:45) [infinispan-server-hotrod-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:362) [netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:141) [netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
    at org.infinispan.server.hotrod.HotRodDecoder.org$infinispan$server$core$transport$StatsChannelHandler$$super$channelRead(HotRodDecoder.scala:31) [infinispan-server-hotrod-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.server.core.transport.StatsChannelHandler$class.channelRead(StatsChannelHandler.scala:32) [infinispan-server-core-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at org.infinispan.server.hotrod.HotRodDecoder.channelRead(HotRodDecoder.scala:31) [infinispan-server-hotrod-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
    at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:341) [netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
    at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:327) [netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
    at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:116) [netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:494) [netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
    at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:461) [netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378) [netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350) [netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
    at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]


Environment

  • Red Hat JBoss Data Grid (JDG)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In