[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920159#action_12920159
 ] 

Hudson commented on ZOOKEEPER-886:
----------------------------------

Integrated in ZooKeeper-trunk #964 (See 
[https://hudson.apache.org/hudson/job/ZooKeeper-trunk/964/])
    ZOOKEEPER-886. Hedwig Server stays in "disconnected" state when connection 
to ZK dies but gets reconnected


> Hedwig Server stays in "disconnected" state when connection to ZK dies but 
> gets reconnected
> -------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-886
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-886
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: contrib-hedwig
>            Reporter: Erwin Tam
>            Assignee: Erwin Tam
>         Attachments: ZOOKEEPER-886.patch
>
>
> The Hedwig Server is connected to ZooKeeper.  In the ZkTopicManager, it 
> registers a watcher so that if it ever gets disconnected from ZK, it will 
> temporarily fail all incoming requests since the Hedwig server does not know 
> for sure if it is still the master for the topics.  When the ZK client gets 
> reconnected, the logic currently is wrong and it does not unset the suspended 
> flag.  Thus once it gets disconnected, it will stay in the suspended state 
> forever, thereby making the Hedwig server hub dead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to