Curator has the Reaper for this purpose. Allocate a Reaper, start it, and add 
any parent lock paths that you'd like cleaned up.

-Jordan

On Aug 30, 2013, at 12:27 PM, Josh Stone <[email protected]> wrote:

> I'm using shared locks and just wanted to learn what's the best way to clean 
> them up when I'm done. When is the appropriate time to delete the node that I 
> use for my lock? Can I delete it right after releasing it? Would this 
> possibly cause problems with another process that might be waiting on that 
> lock or attempting to concurrently create/acquire a lock on that path?
> 
> Thanks,
> Josh

Reply via email to