Details

      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
          26 kB
          Marco P.
        2. ZOOKEEPER-2260.patch
          25 kB
          Marco P.

          Issue Links

            Activity

              People

              • Assignee:
                mprime Marco P.
                Reporter:
                mprime Marco P.
              • Votes:
                4 Vote for this issue
                Watchers:
                23 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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