curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randgalt <...@git.apache.org>
Subject [GitHub] curator pull request: CURATOR-33 recursive TreeCache recipe
Date Thu, 31 Jul 2014 18:23:13 GMT
Github user Randgalt commented on the pull request:

    https://github.com/apache/curator/pull/17#issuecomment-50798327
  
    I need to spend more time on this, but I'm suspecting that the refresh*() and was*() methods
of TreeNode need to be synchronized. These methods can be called from the watcher/async callbacks
as well as Curator's connection state listener callback. The watcher/async are from a single
thread in ZK, but Curator's connection state listener callback is a different thread. Thus,
these methods could be called at the same time from two threads (via wasReconnected()).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message