Github user cammckenzie commented on the pull request:
https://github.com/apache/curator/pull/93#issuecomment-125788009
I had a look into implementing a Watch in the case where we get a NOAUTH
error when trying to create the ephemeral node. The plan was that when the
parent node ACL was modified that the watch would fire and we would retry.
Unfortunately it seems that ACL changes in ZK don't fire Watches (I wasn't
aware of this), so there doesn't seem to be a way to reliably know when the ACL
changes without doing some sort of polling which is pretty ugly.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---