Killed (or missing) SendThread will cause hanging threads
---------------------------------------------------------

                 Key: ZOOKEEPER-1100
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1100
             Project: ZooKeeper
          Issue Type: Bug
          Components: java client
    Affects Versions: 3.3.3
         Environment: 
http://mail-archives.apache.org/mod_mbox/zookeeper-user/201106.mbox/%[email protected]%3E
            Reporter: Gunnar Wagenknecht


After investigating an issues with [hanging 
threads|http://mail-archives.apache.org/mod_mbox/zookeeper-user/201106.mbox/%[email protected]%3E]
 I noticed that any java.lang.Error might silently kill the SendThread. Without 
a SendThread any thread that wants to send something will hang forever. 

Currently nobody will recognize a SendThread that died. I think at least a 
state should be flipped (or flag should be set) that causes all further send 
attempts to fail or to re-spin the connection loop.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to