From dev-return-75547-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Tue Nov 6 02:04:05 2018 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 75E23180670 for ; Tue, 6 Nov 2018 02:04:04 +0100 (CET) Received: (qmail 55411 invoked by uid 500); 6 Nov 2018 01:04:03 -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 55400 invoked by uid 99); 6 Nov 2018 01:04:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2018 01:04:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D0FE418C4EE for ; Tue, 6 Nov 2018 01:04:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id K8Y5b9HJMUye for ; Tue, 6 Nov 2018 01:04:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 175035F419 for ; Tue, 6 Nov 2018 01:04:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5C320E0C57 for ; Tue, 6 Nov 2018 01:04:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1C58627764 for ; Tue, 6 Nov 2018 01:04:00 +0000 (UTC) Date: Tue, 6 Nov 2018 01:04:00 +0000 (UTC) From: "Venkateswarlu Tumati (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ZOOKEEPER-3183) Interrupting or notifying the WatcherCleaner thread during shutdown if it is waiting for dead watchers get certain number(watcherCleanThreshold) and also stop adding incoming deadWatcher to deadWatchersList when shutdown is initiated. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ZOOKEEPER-3183?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:all-tabpanel ] Venkateswarlu Tumati updated ZOOKEEPER-3183: -------------------------------------------- Description: Interrupting or=C2=A0 notifying the WatcherCleaner=C2=A0 t= hread during shutdown if it is waiting for dead watchers get certain number= (watcherCleanThreshold) and also stop adding incoming deadWatcher to deadWa= tchersList when shutdown is initiated. (was: WatcherCleaner thread=C2=A0is= waiting to get certain dead watchers, the shut down can happen when=C2=A0W= atcherCleaner thread=C2=A0is waiting .=C2=A0It will be better if we Interru= pt or notify to avoid the long waiting as shut down is initiated. And also = complete the remaining=C2=A0dead watchers when interrupt happend.) Summary: Interrupting or notifying the WatcherCleaner thread duri= ng shutdown if it is waiting for dead watchers get certain number(watcherCl= eanThreshold) and also stop adding incoming deadWatcher to deadWatchersLis= t when shutdown is initiated. (was: Interrupting or notifying the Watcher= Cleaner thread during shutdown if it is waiting for dead watchers get cert= ain number(watcherCleanThreshold) and also process the remaining dead watch= ers rather coming out without processing .) > Interrupting or notifying the WatcherCleaner thread during shutdown if = it is waiting for dead watchers get certain number(watcherCleanThreshold) a= nd also stop adding incoming deadWatcher to deadWatchersList when shutdown= is initiated. > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= -------------- > > Key: ZOOKEEPER-3183 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3183 > Project: ZooKeeper > Issue Type: Improvement > Components: server > Reporter: Venkateswarlu Tumati > Priority: Minor > Labels: pull-request-available > Fix For: 3.6.0 > > Time Spent: 40m > Remaining Estimate: 0h > > Interrupting or=C2=A0 notifying the WatcherCleaner=C2=A0 thread during sh= utdown if it is waiting for dead watchers get certain number(watcherCleanTh= reshold) and also stop adding incoming deadWatcher to deadWatchersList when= shutdown is initiated. -- This message was sent by Atlassian JIRA (v7.6.3#76005)