zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randgalt <...@git.apache.org>
Subject [GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...
Date Fri, 03 Nov 2017 14:27:31 GMT
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?


---

Mime
View raw message