You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Li Jian (Jira)" <ji...@apache.org> on 2021/06/08 04:45:00 UTC
[jira] [Created] (ZOOKEEPER-4313) Can not get real exception when
getChildren more than 4M
Li Jian created ZOOKEEPER-4313:
----------------------------------
Summary: Can not get real exception when getChildren more than 4M
Key: ZOOKEEPER-4313
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4313
Project: ZooKeeper
Issue Type: Bug
Components: java client
Affects Versions: 3.4.6
Reporter: Li Jian
When use zkClient or curator listener one zookeeper node more than 4M will cause endless loop,because they catch error code for KeeperException.Code.ConnectionLoss then will retry getChildren method after a monent。
The root reason for zookeeper invoke readLength method occor IOException for “Package len is out of range” but when deal with the following process zookeeper changed the real exception to ConnectionLoss。
--
This message was sent by Atlassian Jira
(v8.3.4#803005)