[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791353#action_12791353
 ] 

Gustavo Niemeyer commented on ZOOKEEPER-627:
--------------------------------------------

Thanks for the fix Henry.

I think there's a minor detail to sort out before merging it: it looks like the 
buffer is being freed before it's actually used to build the return value.

> zkpython arbitrarily restricts the size of a 'get' to 512 bytes
> ---------------------------------------------------------------
>
>                 Key: ZOOKEEPER-627
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-627
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: contrib-bindings
>            Reporter: Henry Robinson
>            Assignee: Henry Robinson
>         Attachments: ZOOKEEPER-627.patch
>
>
> Reported on the list:
> "
> I'm working on using ZooKeeper for an internal application at Digg.  I've 
> been using the zkpython package and I just noticed that the data I was 
> receiving from a zookeeper.get() call was being truncated.  After some quick 
> digging I found that zookeeper.c limits the data returned to 512 characters 
> (see 
> http://svn.apache.org/viewvc/hadoop/zookeeper/tags/release-3.2.2/src/contrib/zkpython/src/c/zookeeper.c?view=markup
>  line 855).
> Is there a reason for this?  The only information regarding node size that 
> I've read is that it should not exceed 1MB so this limit seems a bit 
> arbitrary and restrictive.
> Thanks for the great work!
> Rich"

-- 
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