Jakob Homan updated ZOOKEEPER-142:

    Attachment: ZOOKEEPER-142.patch

This patch:
   * Adds verbage to the Javadoc for ZooKeeper.create and ZooKeeper.setData 
about the 1 mb limit of data in a znode.

Also, when I was testing this, I found that passing a large-than-1-mb byte 
array caused the client to be disconnected, along with the KeeperException 
being thrown.  Is disconnection correct in this case?  I'm not sure, just 
asking.  Seems a bit harsh. 

> Provide Javadoc as to the maximum size of the data byte array that may be 
> stored within a znode
> -----------------------------------------------------------------------------------------------
>                 Key: ZOOKEEPER-142
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-142
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: java client
>    Affects Versions: 3.0.0
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 3.0.0
>         Attachments: ZOOKEEPER-142.patch
> Currently there is nothing in the API documentation as to the maximum size of 
> the data in a znode.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to