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 ABC5A200B53 for ; Wed, 22 Jun 2016 00:23:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AA0E2160A4F; Tue, 21 Jun 2016 22:23:00 +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 25564160A60 for ; Wed, 22 Jun 2016 00:22:59 +0200 (CEST) Received: (qmail 22762 invoked by uid 500); 21 Jun 2016 22:22:59 -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 22112 invoked by uid 99); 21 Jun 2016 22:22:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2016 22:22:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 413BD2C1F70 for ; Tue, 21 Jun 2016 22:22:58 +0000 (UTC) Date: Tue, 21 Jun 2016 22:22:58 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ZOOKEEPER-922) enable faster timeout of sessions in case of unexpected socket disconnect MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Jun 2016 22:23:00 -0000 [ https://issues.apache.org/jira/browse/ZOOKEEPER-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth updated ZOOKEEPER-922: ------------------------------------ Fix Version/s: (was: 3.5.2) 3.5.3 > enable faster timeout of sessions in case of unexpected socket disconnect > ------------------------------------------------------------------------- > > Key: ZOOKEEPER-922 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-922 > Project: ZooKeeper > Issue Type: Improvement > Components: server > Reporter: Camille Fournier > Assignee: Camille Fournier > Fix For: 3.6.0, 3.5.3 > > Attachments: ZOOKEEPER-922.patch > > > In the case when a client connection is closed due to socket error instead of the client calling close explicitly, it would be nice to enable the session associated with that client to time out faster than the negotiated session timeout. This would enable a zookeeper ensemble that is acting as a dynamic discovery provider to remove ephemeral nodes for crashed clients quickly, while allowing for a longer heartbeat-based timeout for java clients that need to do long stop-the-world GC. > I propose doing this by setting the timeout associated with the crashed session to "minSessionTimeout". -- This message was sent by Atlassian JIRA (v6.3.4#6332)