Ryan0751 opened a new pull request, #479: URL: https://github.com/apache/curator/pull/479
This PR addresses the 64K child ZNode scaling limitation of CuratorCache. This is done by utilizing tiered Phasers to handle monitoring of additional outstanding operations during the initialization phase of the cache. As each child Phaser reaches the 0xffff capacity of a single Phaser, an additional child Phaser is created and registered with the root Phaser. After initialization completes, the "currentChildPhaser" member variable is set to rootPhaser such that all child Phasers (which will never be used again) can be GC'd. A unit test has been provided which fails without this fix, but succeeds with. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
