[
https://issues.apache.org/jira/browse/ZOOKEEPER-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kezhu Wang resolved ZOOKEEPER-4907.
-----------------------------------
Fix Version/s: 3.9.4
3.10.0
Resolution: Fixed
Issue resolved by pull request 2236
[https://github.com/apache/zookeeper/pull/2236]
> Shouldn't throw "Len error" when server closing cause confusion
> ---------------------------------------------------------------
>
> Key: ZOOKEEPER-4907
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4907
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Reporter: fujian
> Assignee: fujian
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.9.4, 3.10.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> We got the error:
>
> {code:java}
> 2024-11-07 19:03:01,414 [myid:14] - WARN
> [nioEventLoopGroup-7-25:NettyServerCnxn@537] - Closing connection to
> /135.224.186.250:47051
> java.io.IOException: Len error 794913900
> at
> org.apache.zookeeper.server.NettyServerCnxn.receiveMessage(NettyServerCnxn.java:521)
> at
> org.apache.zookeeper.server.NettyServerCnxn.processMessage(NettyServerCnxn.java:374)
> at
> org.apache.zookeeper.server.NettyServerCnxnFactory$CnxnChannelHandler.channelRead(NettyServerCnxnFactory.java:357)
> at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
> at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead
> {code}
> It cause us very confused about it : if we write some big data into
> zookeeper. Thus. we found, in actual. it is just the log/issue when closing
> the server when reelecting the leader sometime. We don't send any big data.
> So I think we can do one tiny code change to avoid throw the error which
> causing confuse with big size's data to reduce trouble shooting effort.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)