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/09 07:24:00 UTC
[jira] [Created] (ZOOKEEPER-4314) Can not get real exception when
getChildren more than 4M
Li Jian created ZOOKEEPER-4314:
----------------------------------
Summary: Can not get real exception when getChildren more than 4M
Key: ZOOKEEPER-4314
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4314
Project: ZooKeeper
Issue Type: Improvement
Components: java client
Affects Versions: 3.6.0
Reporter: Li Jian
Attachments: zookeeper problem.docx
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(-4) 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。Can See the attached file
--
This message was sent by Atlassian Jira
(v8.3.4#803005)