[ 
https://issues.apache.org/jira/browse/ARIES-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18077442#comment-18077442
 ] 

ASF subversion and git services commented on ARIES-2201:
--------------------------------------------------------

Commit 8e1280570bec01ffd6f3acc89f06e87a321c6f02 in aries-rsa's branch 
refs/heads/dependabot/maven/com.sun.xml.bind-jaxb-osgi-4.0.7 from Amichai 
Rothman
[ https://gitbox.apache.org/repos/asf?p=aries-rsa.git;h=8e128057 ]

ARIES-2201 Fix ZookeeperEndpointListener continuing to handle events after 
being closed


> 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)

Reply via email to