Skip to content

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

@ghallberg

Description

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions