Details
-
New Feature
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
3.4.6, 3.5.0
-
None
-
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
Attachments
Issue Links
- blocks
-
HBASE-14938 Limit the number of znodes for ZK in bulk loaded hfile replication
- Closed
- is duplicated by
-
ZOOKEEPER-4383 GetChildren Pagination Feature
- Resolved
-
ZOOKEEPER-282 the getchildren api in zookeeper should return an iterator.
- Resolved
- relates to
-
ZOOKEEPER-4383 GetChildren Pagination Feature
- Resolved
-
ZOOKEEPER-1162 consistent handling of jute.maxbuffer when attempting to read large zk "directories"
- Open
- links to