Github user Randgalt commented on the issue:
https://github.com/apache/zookeeper/pull/377
> I used the sample zoo.cfg file as my config and started via
bin/zkServer.sh - however I can still create a ttl based node even though
"ttlNodesEnabled=false" in the zoo.cfg. I recommend you add a test for this.
@phunt I imagine the server started in Standalone mode. Please verify. When
the server starts in Standalone mode it ignores most of zoo.cfg. Also in
Standalone mode there is no Server ID so it's a non issue. If you add
`server.X` and `standaloneEnabled=false` to zoo.cfg then the ttlNodesEnabled
has effect. Make sense? Does this need to be documented?
---