Amichai Rothman created ARIES-2201:
--------------------------------------

             Summary: ZookeeperEndpointListener keeps handling events after 
being closed
                 Key: ARIES-2201
                 URL: https://issues.apache.org/jira/browse/ARIES-2201
             Project: Aries
          Issue Type: New Feature
          Components: Remote Service Admin
    Affects Versions: rsa-1.16.1
            Reporter: Amichai Rothman


ZookeeperEndpointListener.process() is invoked for handling ZooKeeper events. 
It is registered as a one-off event "watcher", which is invoked only once, and 
then must be re-registered for the next time. However, after being closed, it 
continues to receive events and re-register the watcher every time, and the 
loop is never broken. Closing the listener should stop events from being 
processed and stop re-registering the watchers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to