After deleted, there has an dirty zk-node: default/example
I think there should has a safe way to remove nodes, just like this:
/**
* Delete the metadata of a log, this method will not delete any child node,
* When {@param streamName} is not empty, delete nothing.
*
* @param uri the location to store the metadata of the log
* @param streamName the name of the log stream
* @return When delete finish return {@link Boolean#TRUE};
* when {@param streamName} not exists return {@link Boolean#TRUE}
* when delete nothing return {@link Boolean#FALSE}
*/
CompletableFuture<Boolean> deleteLogUnRecursive(URI uri, final String streamName);
FEATURE REQUEST
After deleted, there has an dirty zk-node: default/example
I think there should has a safe way to remove nodes, just like this: