zookeeper-bookkeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sijie Guo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BOOKKEEPER-38) Bookie Server doesn't exit when its zookeeper session is expired. So the process is hang there.
Date Thu, 11 Aug 2011 04:17:27 GMT

     [ https://issues.apache.org/jira/browse/BOOKKEEPER-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sijie Guo updated BOOKKEEPER-38:
--------------------------------

    Attachment: bookkeeper-38_v2.patch

Ivan, thanks for your test case.

attached a new patch:
integrated with Ivan's test case.
change code to using BookieServer.shutdown(), so we can shutdown nio server.

> 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
>
>
> 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

        

Mime
View raw message