-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CURATOR-715: Check node existence bottom up in ZkPaths::mkdirs (#506)
ZOOKEEPER-2590 enforces read ACL permission for check(). When creating parents if needed, Apache Curator client checks the existence of all nodes in the path from the root node to the created one. However, this is not necessary, it is enough to check the existence of the nodes between the new node and the first existing ancestor. There are use cases where the first levels of a sub-tree are protected against read through ACLs. The current implementation makes it impossible to use `creatingParentsIfNeeded`. This pr also bump ZooKeeper to 3.9.2 which ZOOKEEPER-2590 is shipped.
- Loading branch information
Showing
3 changed files
with
61 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters