Return-Path: Delivered-To: apmail-hadoop-zookeeper-dev-archive@locus.apache.org Received: (qmail 33084 invoked from network); 10 Sep 2008 13:35:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2008 13:35:35 -0000 Received: (qmail 38408 invoked by uid 500); 10 Sep 2008 13:35:32 -0000 Delivered-To: apmail-hadoop-zookeeper-dev-archive@hadoop.apache.org Received: (qmail 38382 invoked by uid 500); 10 Sep 2008 13:35:32 -0000 Mailing-List: contact zookeeper-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-dev@hadoop.apache.org Delivered-To: mailing list zookeeper-dev@hadoop.apache.org Received: (qmail 38367 invoked by uid 99); 10 Sep 2008 13:35:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 06:35:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 13:34:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9A508234C1D4 for ; Wed, 10 Sep 2008 06:34:44 -0700 (PDT) Message-ID: <792388409.1221053684631.JavaMail.jira@brutus> Date: Wed, 10 Sep 2008 06:34:44 -0700 (PDT) From: "Patrick Hunt (JIRA)" To: zookeeper-dev@hadoop.apache.org Subject: [jira] Updated: (ZOOKEEPER-117) threading issues in Leader election In-Reply-To: <592023314.1218477885096.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ZOOKEEPER-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-117: ----------------------------------- Status: Patch Available (was: Open) > threading issues in Leader election > ----------------------------------- > > Key: ZOOKEEPER-117 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-117 > Project: Zookeeper > Issue Type: Bug > Components: server > Reporter: Patrick Hunt > Assignee: Flavio Paiva Junqueira > Attachments: ZOOKEEPER-117.patch > > > Leader.lead() creates a new thread that can never terminate (short of restarting vm) > naked notifyall in lead() method - what is the condition variable? Best if set inside the sync block -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.