From notifications-return-1892-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Wed Sep 18 15:34:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C7AD5180683 for ; Wed, 18 Sep 2019 17:34:01 +0200 (CEST) Received: (qmail 96009 invoked by uid 500); 18 Sep 2019 15:34:01 -0000 Mailing-List: contact notifications-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 notifications@zookeeper.apache.org Received: (qmail 95994 invoked by uid 99); 18 Sep 2019 15:34:01 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2019 15:34:01 +0000 From: GitBox To: notifications@zookeeper.apache.org Subject: [GitHub] [zookeeper] anmolnar commented on a change in pull request #1045: ZOOKEEPER-3400: Add documentation on local sessions Message-ID: <156882084115.30552.4474082332477856887.gitbox@gitbox.apache.org> Date: Wed, 18 Sep 2019 15:34:01 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit anmolnar commented on a change in pull request #1045: ZOOKEEPER-3400: Add documentation on local sessions URL: https://github.com/apache/zookeeper/pull/1045#discussion_r325745723 ########## File path: zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md ########## @@ -503,6 +503,88 @@ new list and failing to connect, the client moves back to the normal mode of ope an arbitrary server from the connectString and attempts to connect to it. If that fails, it will continue trying different random servers in round robin. (see above the algorithm used to initially choose a server) +**local session**.Added in 3.5.0, mainly implemented by [ZOOKEEPER-1147](https://issues.apache.org/jira/browse/ZOOKEEPER-1147). + +- Background:The creation and closing of sessions are costly in ZooKeeper because they need quorum confirmations, Review comment: Space. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services