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.
-Jordan On August 31, 2015 at 2:46:09 PM, Cameron McKenzie ([email protected]) 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 trouble?
