Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

mkdir_p in jruby fails if more than one part of the path is nonexistent #45

Open
ghallberg opened this Issue · 3 comments

3 participants

@ghallberg

When running zk.mkdir_p("/foo/bar") in an empty zookeeper tree an NoNode-exception is thrown, but it's not caught in the handler, so no recursion is performed. It is possible to use it to create a single new level (mkdir_p("/foo")), mimicing the behavior of create.

This is on jruby 1.7.0-preview1 and 2.

@slyphon
Owner
@ghallberg

Yes, it works fine in 1.6.7.2. Up to you if you want to fix it immediately or wait until 1.7 is final I guess. Thanks

@dallasmarlow

this works fine in the jruby 1.7.1 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.