Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2260

Paginated getChildren call

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4.6, 3.5.0
    • Fix Version/s: 3.8.0
    • Component/s: None

      Description

      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

        Attachments

        1. ZOOKEEPER-2260.patch
          25 kB
          Marco P.
        2. ZOOKEEPER-2260.patch
          26 kB
          Marco P.

        Issue Links

          Activity

            People

            • Assignee:
              mprime Marco P.
              Reporter:
              mprime Marco P.

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m

                  Issue deployment