Github user Randgalt commented on the pull request:
https://github.com/apache/curator/pull/17#issuecomment-50918629
Imagine a scenario where there is a temporary connection problem. Curator
will send SUSPENDED. If the connect gets repaired and the session survives,
Curator will send RECONNECTED. At nearly the same time, some of the watchers
might get called due to watched changes. Thus, a method like refreshData()
might get called simultaneously by two threads.
---
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.
---