curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jor...@jordanzimmerman.com>
Subject Re: [DISCUSS] A recursive PathChildrenCache.
Date Wed, 22 May 2013 20:45:07 GMT
First off - apologies for not replying sooner…

Something like this raises a smell for me. What's the use case? It's already fairly expensive
to keep a path in sync via the cache. Multiple paths just magnifies that.

-JZ

On May 1, 2013, at 6:08 AM, Ioannis Canellos <iocanel@gmail.com> wrote:

> If the topic doesn't make it obvious. I'd like an enhanced
> PathChildrenCache that would optionally cache all ancestors and not only
> the children.
> 
> It seems to me that if the RefreshOperation accepted the path as an
> argument, we should be able to refresh not only the root path but also any
> of its ancestors.
> 
> So if we created a PathChildrenCache, with the recursive flag true, and we
> refresh the children each time we process them, then we would have the
> desired behavior.
> 
> Does this idea make any sense? Are there any plans about it? Shall I raise
> a jira and submit a patch?
> 
> -- 
> *Ioannis Canellos*
> *
> 
> *


Mime
View raw message