[jira] Updated: (ZOOKEEPER-886) Hedwig Server stays in disconnected state when connection to ZK dies but gets reconnected

2010-10-11 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-886:


Hadoop Flags: [Reviewed]

+1 good catch erwin!

 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.



[jira] Updated: (ZOOKEEPER-886) Hedwig Server stays in disconnected state when connection to ZK dies but gets reconnected

2010-10-11 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-886:


Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed revision 1021501.


 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.



[jira] Updated: (ZOOKEEPER-886) Hedwig Server stays in disconnected state when connection to ZK dies but gets reconnected

2010-10-05 Thread Erwin Tam (JIRA)

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

Erwin Tam updated ZOOKEEPER-886:


Attachment: ZOOKEEPER-886.patch

 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.



[jira] Updated: (ZOOKEEPER-886) Hedwig Server stays in disconnected state when connection to ZK dies but gets reconnected

2010-10-05 Thread Erwin Tam (JIRA)

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

Erwin Tam updated ZOOKEEPER-886:


Status: Patch Available  (was: Open)

Uploaded patch for this fix.

 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.