Github user Randgalt commented on the issue:

    https://github.com/apache/curator/pull/215
  
    Look at CreateBuilderImpl#pathInBackground()
    
    ```java
    client.processBackgroundOperation(operationAndData, null);
    ```
    
    All the DSL builders call `processBackgroundOperation()` with null the 
first time. Now, you ask, how can a ZooKeeper thread call this? Here's how:
    
    ```java
    class MyWatcher implements Watcher {
        public void process(WatchedEvent event) {
            curatorClient.create().inBackground().forPath(p);
        }
    }
    ```
    
    It can also happen from a background operation callback.


---
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.
---

Reply via email to