Currently there is nothing in the API documentation as to the maximum size of the data in a znode.
Exceeding max data node size causes disconnect
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.
+1 on patch
Committed revision 699104.
The issue of whether semantics are correct has been created as jira ZOOKEEPER-143
Integrated in ZooKeeper-trunk #95 (See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/95/)
3.0.0 has been released, closing issues.