GitHub user leyoliu1987 opened a pull request:
https://github.com/apache/curator/pull/245
a concurrent issue found in TreeCache.class,explanation along with coâ¦
here sleep a shot time to ensure invoking method "publishEvent" after
all other eventType case,
because I found more event such as NODE_ADD received again after I have
received INITIALLIZED eventType when I restart my Application in my own
Linsener which implements the interface TreeCacheListener,so,I believe a
concurrent issue occurs, I guess attitional code execution delayed the invoke
method "publishEvent" in CASE GET_DATA.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/leyoliu1987/curator master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/curator/pull/245.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #245
----
commit 8cb8a9a2694d4e21481efb7883519036f7868b69
Author: liujiangbo01 <[email protected]>
Date: 2017-12-14T07:52:57Z
a concurrent issue found in TreeCache.class,explanation along with code
annotation
----
---