Return-Path: Delivered-To: apmail-hadoop-zookeeper-dev-archive@locus.apache.org Received: (qmail 67119 invoked from network); 27 Jun 2008 14:59:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2008 14:59:37 -0000 Received: (qmail 88011 invoked by uid 500); 27 Jun 2008 14:59:38 -0000 Delivered-To: apmail-hadoop-zookeeper-dev-archive@hadoop.apache.org Received: (qmail 87984 invoked by uid 500); 27 Jun 2008 14:59:38 -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 87973 invoked by uid 99); 27 Jun 2008 14:59:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 07:59:38 -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; Fri, 27 Jun 2008 14:58:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A23A6234C14D for ; Fri, 27 Jun 2008 07:58:46 -0700 (PDT) Message-ID: <234002551.1214578726663.JavaMail.jira@brutus> Date: Fri, 27 Jun 2008 07:58:46 -0700 (PDT) From: "Benjamin Reed (JIRA)" To: zookeeper-dev@hadoop.apache.org Subject: [jira] Commented: (ZOOKEEPER-47) io thread still around after a EXPIRED_SESSION or AUTH_FAILED event is received In-Reply-To: <298258147.1213825545328.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-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608797#action_12608797 ] Benjamin Reed commented on ZOOKEEPER-47: ---------------------------------------- You're right. I was reading the code wrong. > 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.