Benjamin Reed commented on ZOOKEEPER-272:
-----------------------------------------
I think there are two stages to fixing this problem. First we should make that
line of code use BinaryInputArchive.maxBuffer, so that it can be configured.
Then we should probably add a version of getChildren that takes and returns an
offset, so that getChildren could be called multiple times to get all of the
children.
> getChildren can fail for large numbers of children
> --------------------------------------------------
>
> Key: ZOOKEEPER-272
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-272
> Project: Zookeeper
> Issue Type: Bug
> Reporter: Joshua Tuberville
>
> Zookeeper allows creation of an abritrary number of children, yet if the
> String array of children names exceeds 4,194,304 bytes a getChildren will
> fail because ClientCnxn$SendThread.readLength() throws an exception on line
> 490. Mahadev Konar questioned this byte limit's need. In any case
> consistency of create children, get children should exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.