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

Counter failures in Hot Rod client

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None
    • None

      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
      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
      
      • Unknown disconnects
      (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]
      
      • Other possible related failures:
      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)
      
      

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: