curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <>
Subject Re: NodeExistsException with Shared Value recipe in Curator
Date Mon, 31 Aug 2015 23:49:06 GMT
Why would this be needed? It adds an additional ZK call for no good reason. If the node exists,
the exception is thrown. In any event, even if checkExists() succeeds there’s a chance that
another process can create the node before the create() call is made. So, it doesn’t do
what you want anyway.


On August 31, 2015 at 2:46:09 PM, Cameron McKenzie ( wrote:

Would it be possible in the future to have Curator have the option to run a checkExists()
before the .start() call on a recipe like Shared-Value? Is the extra overhead not worth the

View raw message