You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/04/29 16:35:00 UTC

[jira] [Commented] (ARIES-2201) ZookeeperEndpointListener keeps handling events after being closed

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

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

Commit 8e1280570bec01ffd6f3acc89f06e87a321c6f02 in aries-rsa's branch refs/heads/master 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
>
> 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)