You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (JIRA)" <ji...@apache.org> on 2013/01/08 04:30:13 UTC

[jira] [Created] (BOOKKEEPER-537) Handling session expire event

Sijie Guo created BOOKKEEPER-537:
------------------------------------

             Summary: Handling session expire event
                 Key: BOOKKEEPER-537
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-537
             Project: Bookkeeper
          Issue Type: Improvement
            Reporter: Sijie Guo
             Fix For: 4.3.0


This is a master jira to provide better session expire handling for both BOOKKEEPER and Hedwig.

This task could be divided into several tasks:

1) provide a reconnectable zookeeper client, which wrap the zookeeper client. when session is expired, it created a new zookeeper client to replace the expired one.

2) session handling for bookie server

3) session handling for bookkeeper client.

4) session handling for Hedwig. when session is expired, hedwig should disable ensemble change and ledger change. when the client is recovered from session expired state, hedwig enables ensemble change and ledger change, and it would try to reclaim its owned topic.

the works are available in https://github.com/sijie/bookkeeper/commits/retryable_zk_2. will try to generate the patches after 4.2.0 release.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira