[
https://issues.apache.org/jira/browse/ARIES-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amichai Rothman closed ARIES-2201.
----------------------------------
Fix Version/s: rsa-2.0.0
Resolution: Fixed
> 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
> Priority: Minor
> Fix For: rsa-2.0.0
>
>
> 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)