A deficiency? You can only add children to persistent nodes

2010-03-22 Thread Dominic Williams
Hi all, I'm developing a library of primitives backed by ZooKeeper. An issue I've recently hit is that you can only add children to persistent nodes. When you're creating primitives for things like locking - for use for exampe synchronizing cluster-wide processing of a NOSQL database like

Re: A deficiency? You can only add children to persistent nodes

2010-03-23 Thread Dominic Williams
this mechanism would address your need in a way that is easy to implement and use. it would also allow you to do a cool barrier implementation! ben On 03/22/2010 10:37 AM, Patrick Hunt wrote: Dominic Williams wrote: What I'd suggest might work: - when the session that created

Re: A deficiency? You can only add children to persistent nodes

2010-03-23 Thread Dominic Williams
otherwise it immediately disappears.) i think this mechanism would address your need in a way that is easy to implement and use. it would also allow you to do a cool barrier implementation! ben On 03/22/2010 10:37 AM, Patrick Hunt wrote: Dominic Williams wrote: What I'd suggest might

Re: A deficiency? You can only add children to persistent nodes

2010-03-24 Thread Dominic Williams
/ZooKeeper/HowToContribute Patrick Dominic Williams wrote: Ok will do. Will create patch for weak watchers and corral existing discussion into ephem in ephem. This will happen some time this week Thanks for all the feedback. On 23 March 2010 16:29, Patrick Hunt ph...@apache.org wrote