You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Marco P. (JIRA)" <ji...@apache.org> on 2017/04/11 20:16:41 UTC

[jira] [Commented] (ZOOKEEPER-2260) Paginated getChildren call

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

Marco P. commented on ZOOKEEPER-2260:
-------------------------------------

I've just added some code to the existing PR (https://github.com/apache/zookeeper/pull/50).
Pending comments from last Feb were addressed and I modified the wire protocol to handle multiple children with the same creation time (i.e. resulting from multi() create), the previous implementation was not handling this at all. Also added more tests.

[~rakeshr][~fpj][~esteban][~jmhsieh][~rgs] thanks for your patience with this.

> Paginated getChildren call
> --------------------------
>
>                 Key: ZOOKEEPER-2260
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2260
>             Project: ZooKeeper
>          Issue Type: New Feature
>    Affects Versions: 3.4.6, 3.5.0
>            Reporter: Marco P.
>            Assignee: Marco P.
>              Labels: api, features
>             Fix For: 3.5.4, 3.6.0
>
>         Attachments: ZOOKEEPER-2260.patch, ZOOKEEPER-2260.patch
>
>
> 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.15#6346)