Affects Version/s: 3.2.0
Fix Version/s: 3.3.0
Component/s: c client
Release Note:workaround: the test environment in this case had a max heap of 64m, by increasing the max mem via -Xmx the performance issue was addressed and the test ran fine.
If I create 100k nodes on /misc then
CPPUNIT_ASSERT_EQUAL(0, zoo_get_children(zh2, "/misc", 0, &children));
for (int i = 0; i < children.count; i++)
around 47k or so through the loop the client fails with -4 (connection loss), the client timeout is 30 seconds. The server command port shows the following, so it looks like it's not the server but some issue with watcher reg on the c client?
phunt@valhalla:~$ echo stat | nc localhost 22181
Zookeeper version: 3.3.0--1, built on 07/22/2009 23:55 GMT
Latency min/avg/max: 0/196/1026
Node count: 100005
729 is a separate client - the one that created the nodes originally.
731 and 730 are zh2/zh3 in the code.