Simple test file: https://gist.github.com/3921228
Launch it, then do multiple ./zkServer.sh restart on your server.
You will then see that children events are growing by a factor of 2 each time your restart your server.
This is due to two things:
As there are a lot of session event on Zookeeper, it must be affecting every node zookeeper user or node zkplus user.
I really dont know how to deal with that.
Simple test file: https://gist.github.com/3921228
Launch it, then do multiple ./zkServer.sh restart on your server.
You will then see that children events are growing by a factor of 2 each time your restart your server.
This is due to two things:
node-zkplus/lib/client.js
Line 798 in 733906c
As there are a lot of session event on Zookeeper, it must be affecting every node zookeeper user or node zkplus user.
I really dont know how to deal with that.