public void delete(Path path, int expectedVersion, boolean recursive) {
        try {
            if (recursive) framework().delete().guaranteed().deletingChildrenIfNeeded().withVersion(expectedVersion).forPath(path.getAbsolute());
            else           framework().delete().guaranteed()                           .withVersion(expectedVersion).forPath(path.getAbsolute());
        } catch (KeeperException.NoNodeException e) {
            // Do nothing
        } catch (Exception e) {
            throw new RuntimeException("Could not delete " + path.getAbsolute(), e);
        }
    }
Deletes the path and any children it may have.
If the path does not exist, nothing is done.
zkfacade/src/main/java/com/yahoo/vespa/curator/Curator.java