Github user dragonsinth commented on the issue:
https://github.com/apache/curator/pull/245
Hi @leyoliu1987,
I think the executor is your problem. If you use
`Executors.newFixedThreadPool(10)` you are creating 10 different threads to
handle events on. When numerous events fire at close to the same time, you
will handle all of those events _concurrently_. That makes you will observe
them simultaneously / concurrently / out of order / in a racy way. So this is
not a TreeCache problem. If you use a single-threaded executor you should see
everything in sequential order.
Thanks!
Scott
---