curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cameron McKenzie (JIRA)" <>
Subject [jira] [Commented] (CURATOR-33) Recursive Node Cache
Date Thu, 10 Jul 2014 02:32:04 GMT


Cameron McKenzie commented on CURATOR-33:

Up to you, I'm more than happy for you to have a crack at it if you're interested, but if
you're not going to have time, then I'll look into it.

I agree with your assessment that it should probably be a separate recipe though. My implementation
went for the approach with the least code changes, but it would be rather inefficient with
large caches as any time the children of any zNode changes, the whole map is refreshed.

> Recursive Node Cache
> --------------------
>                 Key: CURATOR-33
>                 URL:
>             Project: Apache Curator
>          Issue Type: Improvement
>          Components: Recipes
>            Reporter: John Vines
>             Fix For: awaiting-response
>         Attachments: CURATOR-33.2.patch, CURATOR-33.patch
> Currently the PathChildrenCache will trigger listen events for all children at the given
node. However, it would be useful to have a cache that would trigger listen events for the
entire hierarchy below the given node.

This message was sent by Atlassian JIRA

View raw message