Return-Path: Delivered-To: apmail-hadoop-zookeeper-dev-archive@locus.apache.org Received: (qmail 20236 invoked from network); 18 Jun 2008 21:46:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jun 2008 21:46:07 -0000 Received: (qmail 21572 invoked by uid 500); 18 Jun 2008 21:46:09 -0000 Delivered-To: apmail-hadoop-zookeeper-dev-archive@hadoop.apache.org Received: (qmail 21554 invoked by uid 500); 18 Jun 2008 21:46:08 -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 21225 invoked by uid 99); 18 Jun 2008 21:46:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2008 14:46:08 -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, 18 Jun 2008 21:45:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 506A0234C149 for ; Wed, 18 Jun 2008 14:45:45 -0700 (PDT) Message-ID: <298258147.1213825545328.JavaMail.jira@brutus> Date: Wed, 18 Jun 2008 14:45:45 -0700 (PDT) From: "Benjamin Reed (JIRA)" To: zookeeper-dev@hadoop.apache.org Subject: [jira] Created: (ZOOKEEPER-47) io thread still around after a EXPIRED_SESSION or AUTH_FAILED event is received MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org io thread still around after a EXPIRED_SESSION or AUTH_FAILED event is received ------------------------------------------------------------------------------- Key: ZOOKEEPER-47 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-47 Project: Zookeeper Issue Type: Bug Components: c client Reporter: Benjamin Reed If a session expires, the zhandle_t becomes invalid and useless; however, the io thread keeps going. do_io in mt_adaptor.c needs to check the return code of zookeeper_interest and zookeeper_process and get out of the loop if the handle is invalid. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.