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

Jordan Zimmerman commented on ZOOKEEPER-2260:
---------------------------------------------

In order for this to be useful I think the method would have to also return the 
version of the parent node so that multiple calls could validate that the 
version number hasn't changed. Otherwise, how do yo correlate 2 calls to the 
method?

> Paginated getChildren call
> --------------------------
>
>                 Key: ZOOKEEPER-2260
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2260
>             Project: ZooKeeper
>          Issue Type: New Feature
>            Reporter: Marco P.
>            Priority: Minor
>              Labels: features
>
> Add pagination support to the getChildren() call, allowing clients to iterate 
> over children N at the time.
> Motivations for this include:
>   - Getting out of a situation where so many children were created that 
> listing them exceeded the network buffer sizes (making it impossible to 
> recover by deleting)[1]
>  - More efficient traversal of nodes with large number of children [2]
> I do have a patch (for 3.4.6) we've been using successfully for a while, but 
> I suspect much more work is needed for this to be accepted. 
> [1] https://issues.apache.org/jira/browse/ZOOKEEPER-272
> [2] https://issues.apache.org/jira/browse/ZOOKEEPER-282



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to