Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-9419

Restore IOException handling to Radish ExecutionHandlerContext

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.15.0
    • Component/s: redis

      Description

      Some of the IOException handling was removed in GEODE-9411. However, spurious exceptions are now logged when a client closes a connection and netty detects that. For example:

      [error 2021/07/08 18:14:35.645 PDT  <GeodeRedisServer-WorkerThread-6> tid=0x2b] GeodeRedisServer-Unexpected error handler for [id: 0x5f9439f3, L:/127.0.0.1:57618 - R:/127.0.0.1:57699]
      java.io.IOException: Connection reset by peer
      	at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
      	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
      	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
      	at sun.nio.ch.IOUtil.read(IOUtil.java:192)
      	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
      	at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
      	at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1134)
      	at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
      	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)
      	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      	at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jens.deppe Jens Deppe
                Reporter:
                jens.deppe Jens Deppe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: