Return-Path: X-Original-To: apmail-zookeeper-bookkeeper-dev-archive@minotaur.apache.org Delivered-To: apmail-zookeeper-bookkeeper-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D8B7866C for ; Fri, 12 Aug 2011 16:24:51 +0000 (UTC) Received: (qmail 74737 invoked by uid 500); 12 Aug 2011 16:24:51 -0000 Delivered-To: apmail-zookeeper-bookkeeper-dev-archive@zookeeper.apache.org Received: (qmail 74705 invoked by uid 500); 12 Aug 2011 16:24:51 -0000 Mailing-List: contact bookkeeper-dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bookkeeper-dev@zookeeper.apache.org Delivered-To: mailing list bookkeeper-dev@zookeeper.apache.org Received: (qmail 74697 invoked by uid 99); 12 Aug 2011 16:24:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 16:24:51 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 16:24:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 68757B9EA9 for ; Fri, 12 Aug 2011 16:24:27 +0000 (UTC) Date: Fri, 12 Aug 2011 16:24:27 +0000 (UTC) From: "Sijie Guo (JIRA)" To: bookkeeper-dev@zookeeper.apache.org Message-ID: <1038255267.33711.1313166267424.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1107315511.15850.1312786469300.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (BOOKKEEPER-38) Bookie Server doesn't exit when its zookeeper session is expired. So the process is hang there. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BOOKKEEPER-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084227#comment-13084227 ] Sijie Guo commented on BOOKKEEPER-38: ------------------------------------- Ivan, I agreed with you. I would change the patch. > Bookie Server doesn't exit when its zookeeper session is expired. So the process is hang there. > ----------------------------------------------------------------------------------------------- > > Key: BOOKKEEPER-38 > URL: https://issues.apache.org/jira/browse/BOOKKEEPER-38 > Project: Bookkeeper > Issue Type: Bug > Components: bookkeeper-server > Affects Versions: 3.4.0 > Reporter: Sijie Guo > Fix For: 3.4.0 > > Attachments: BookieZKExpireTest.java, bookkeeper-38.patch, bookkeeper-38_v2.patch, bookkeeper-38_v3.patch > > > Bookie server doesn't process zookeeper watcher events and just ignore them. So when session expires, bookie server hangs there and can't do nothing. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira