From issues-return-1572-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Sat Oct 12 22:57:04 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 AE193180608 for ; Sun, 13 Oct 2019 00:57:03 +0200 (CEST) Received: (qmail 47787 invoked by uid 500); 12 Oct 2019 22:57:01 -0000 Mailing-List: contact issues-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 issues@zookeeper.apache.org Received: (qmail 47774 invoked by uid 99); 12 Oct 2019 22:57:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Oct 2019 22:57:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1064FE2D8D for ; Sat, 12 Oct 2019 22:57:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 1A212780494 for ; Sat, 12 Oct 2019 22:57:00 +0000 (UTC) Date: Sat, 12 Oct 2019 22:57:00 +0000 (UTC) From: "Jie Huang (Jira)" To: issues@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ZOOKEEPER-3574) Close quorum socket asynchronously to avoid shutdown stalled by long socket closing time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jie Huang created ZOOKEEPER-3574: ------------------------------------ Summary: Close quorum socket asynchronously to avoid shutdown = stalled by long socket closing time Key: ZOOKEEPER-3574 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3574 Project: ZooKeeper Issue Type: Sub-task Components: server Affects Versions: 3.6.0 Reporter: Jie Huang Since we can't use SO_LINGER option or find a substitute to close a TLS soc= ket quickly in JDK 11, we call close() asynchronously so the shutdown can p= roceed and a new leader election can be started while the socket being clos= ed.=C2=A0=C2=A0 =C2=A0 =C2=A0 -- This message was sent by Atlassian Jira (v8.3.4#803005)