yfinkelstein/node-zookeeper — Issue #22: Assertion fail on reconnecting to server
Author: kuebk
Created: 2011-11-08 16:02:12+00:00
State: open

So I did a little testing, on PC1 I started the zookeeper server 3.3.3, from PC2 I'm running the following script: https://gist.github.com/1348164

What it does is to get data and create new watcher every time it gets new data. That part works fine.
But there is a problem, probably in the reconnecting code.

When I shutdown the zookeeper server I'm getting debug message about connection refused, when I start up the server again it aborts node process because of assertion fail.

Here is the complete log: https://gist.github.com/1348181