Jens Deppe created GEODE-9419:
---------------------------------
Summary: Restore IOException handling to Radish
ExecutionHandlerContext
Key: GEODE-9419
URL: https://issues.apache.org/jira/browse/GEODE-9419
Project: Geode
Issue Type: Improvement
Components: redis
Reporter: Jens Deppe
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:
{noformat}
[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)
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)