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 BE5E0200C5B for ; Thu, 27 Apr 2017 19:19:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BCFEE160BB2; Thu, 27 Apr 2017 17:19:48 +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 0F4B3160BA7 for ; Thu, 27 Apr 2017 19:19:47 +0200 (CEST) Received: (qmail 79811 invoked by uid 500); 27 Apr 2017 17:19:47 -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 79787 invoked by uid 99); 27 Apr 2017 17:19:46 -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; Thu, 27 Apr 2017 17:19:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C8D77E01BC; Thu, 27 Apr 2017 17:19:46 +0000 (UTC) From: hanm To: dev@zookeeper.apache.org Reply-To: dev@zookeeper.apache.org References: In-Reply-To: Subject: [GitHub] zookeeper issue #222: ZOOKEEPER-2697 Handle graceful stop of ZookKeeper clie... Content-Type: text/plain Message-Id: <20170427171946.C8D77E01BC@git1-us-west.apache.org> Date: Thu, 27 Apr 2017 17:19:46 +0000 (UTC) archived-at: Thu, 27 Apr 2017 17:19:48 -0000 Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/222 Since we have this new close method we probably should remove the testableClose but it looks like there are also other testable* methods since 3.3.0 and we have to consider there are many folks already use this testable method (even not just in test code.). So it sounds good to me to keep the testable method as is and because of this it also sounds good to me to add the new close method to 3.5. I think what's remaining is some doc work: * Add @since tag in the new close method. * Would be good to some comments in the existing close() method mentioning that it does not release all threads internally used, and then link to the new close method added in this patch if users want certain behavior. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---