Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6BC43200D34 for ; Fri, 3 Nov 2017 15:27:33 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 618FE160BFB; Fri, 3 Nov 2017 14:27:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9DC6B160BE9 for ; Fri, 3 Nov 2017 15:27:32 +0100 (CET) Received: (qmail 11364 invoked by uid 500); 3 Nov 2017 14:27:31 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 11347 invoked by uid 99); 3 Nov 2017 14:27:31 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2017 14:27:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 62CFEDFC27; Fri, 3 Nov 2017 14:27:31 +0000 (UTC) From: Randgalt To: dev@zookeeper.apache.org Reply-To: dev@zookeeper.apache.org References: In-Reply-To: Subject: [GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ... Content-Type: text/plain Message-Id: <20171103142731.62CFEDFC27@git1-us-west.apache.org> Date: Fri, 3 Nov 2017 14:27:31 +0000 (UTC) archived-at: Fri, 03 Nov 2017 14:27:33 -0000 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? ---