[
https://issues.apache.org/jira/browse/ZOOKEEPER-4314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17372525#comment-17372525
]
Damien Diederen commented on ZOOKEEPER-4314:
--------------------------------------------
Hi [~qzballack],
I understand that this ticket is about the lack of diagnosis, but have linked
the two other issues because they capture the root cause and potential
workarounds.
> 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
> Priority: Major
> 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)