Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-244

Creating parents with ACLProvider puts wrong ACLs on znodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 3.1.0, 2.10.0
    • None
    • None

    Description

      Currently, if I create /foo/bar/baz and /foo doesn't exist it will create the whole hierarchy, but it will create /foo and /foo/bar with the ACLs the provider provides for /foo/bar/baz. I would expect it to consult the ACLProvider for the right znode (which seems totally doable but for some reason it passes in the wrong path to the provider when creating parents) or not ACL the parent znode.

      This is similar to CURATOR-221, but I think this behavior makes for a pretty bad user experience as it's not simply a case of checking how you namespace a curatorframework.

      Attachments

        Issue Links

          Activity

            People

              randgalt Jordan Zimmerman
              vines John Vines
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: