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:20:00 UTC

[jira] [Resolved] (ZOOKEEPER-4313) Can not get real exception when getChildren more than 4M

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Li Jian resolved ZOOKEEPER-4313.
--------------------------------
    Resolution: Won't Fix

> 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
>            Priority: Major
>
> 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)