Pedro Ruivo created ISPN-9053:
---------------------------------
Summary: Counter failures in Hot Rod client
Key: ISPN-9053
URL:
https://issues.jboss.org/browse/ISPN-9053
Project: Infinispan
Issue Type: Bug
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
Since the client was moved to an async approach, the following failures are causing
failures in StrongCounterAPI and WeakCounterAPI, mainly related to listeners:
* Wrong message received while expecting a CounterEvent
{noformat}
ISPN004043: Unrecoverable error reading event from server 127.0.0.1/127.0.0.1:43903,
exiting listener [B0x5C39BFF
6B7ED724E..[16]
io.netty.handler.codec.DecoderException: java.lang.AssertionError
...
Caused by: java.lang.AssertionError
at
org.infinispan.client.hotrod.impl.protocol.Codec20.readAndValidateHeader(Codec20.java:495)
~[classes/:?]
at
org.infinispan.client.hotrod.impl.protocol.Codec20.readCounterEvent(Codec20.java:226)
~[classes/:?]
at
org.infinispan.client.hotrod.event.impl.CounterEventDispatcher.readEvent(CounterEventDispatcher.java:36)
~[classes/:?]
at
org.infinispan.client.hotrod.event.impl.CounterEventDispatcher.readEvent(CounterEventDispatcher.java:17)
~[classes/:?]
at
org.infinispan.client.hotrod.event.impl.EventDispatcher.decode(EventDispatcher.java:44)
~[classes/:?]
at
org.infinispan.client.hotrod.impl.transport.netty.HintedReplayingDecoder.callDecode(HintedReplayingDecoder.java:98)
~[classes/:?]
... 19 more
{noformat}
* Unknown disconnects
{noformat}
(HotRod-StrongCounterAPITest-ServerWorker-345-2:[]) [HotRodExceptionHandler] Exception
caught
io.netty.channel.unix.Errors$NativeIoException: syscall:read(..) failed: Connection reset
by peer
at io.netty.channel.unix.FileDescriptor.readAddress(..)(Unknown Source)
~[netty-transport-native-unix-common-4.1.22.Final.jar:4.1.22.Final]
{noformat}
* Other possible related failures:
{noformat}
Caused by: java.lang.AssertionError
at
org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.release(ChannelPool.java:170)
at
org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.releaseChannel(ChannelFactory.java:307)
at
org.infinispan.client.hotrod.impl.operations.HotRodOperation.releaseChannel(HotRodOperation.java:92)
at
org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.invoke(RetryOnFailureOperation.java:73)
at
org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.activateChannel(ChannelPool.java:217)
at
org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.acquire(ChannelPool.java:86)
at
org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.fetchChannelAndInvoke(ChannelFactory.java:257)
at
org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.fetchChannelAndInvoke(ChannelFactory.java:252)
at
org.infinispan.client.hotrod.counter.operation.BaseCounterOperation.fetchChannelAndInvoke(BaseCounterOperation.java:82)
at
org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:58)
at
org.infinispan.client.hotrod.counter.impl.StrongCounterImpl.compareAndSwap(StrongCounterImpl.java:36)
at org.infinispan.counter.api.StrongCounter.compareAndSet(StrongCounter.java:83)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)