Observer LearnerHandlers are not removed from Leader collection.
----------------------------------------------------------------

                 Key: ZOOKEEPER-1303
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1303
             Project: ZooKeeper
          Issue Type: Bug
          Components: scripts
    Affects Versions: 3.3.4
            Reporter: Ashish Mishra
            Priority: Minor
             Fix For: 3.4.0


The Leader.removeLearnerHandler() call removes handlers from the 
forwardingFollowers and learners sets, but not from observingLearners.  This 
will cause a leak if observers are repeatedly connected and disconnected from 
the ensemble.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to