Skip to content

Conversation

kezhuw
Copy link
Member

@kezhuw kezhuw commented Aug 8, 2023

getConfig will read data from path "/zookeeper/config" which belongs to no namespace nor chroot in ZooKeeper side. Path in background event or watch event should stick to "/zookeeper/config".

See also:

`getConfig` will read data from path "/zookeeper/config" which belongs
to no namespace nor chroot in ZooKeeper side. Path in background event
or watch event should stick to "/zookeeper/config".

See also:
* https://issues.apache.org/jira/browse/ZOOKEEPER-4601
* https://lists.apache.org/thread/2tsg1hcopl80zot12tqrynrbg2h792jf
@kezhuw kezhuw requested review from eolivelli and tisonkun August 8, 2023 08:24
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@kezhuw kezhuw merged commit abfa96f into apache:master Aug 13, 2023
kezhuw added a commit to kezhuw/curator that referenced this pull request Oct 16, 2024
CURATOR-667(apache#474) fixes asynchronous event path for `getConfig` to
"/zookeeper/config" by using `CuratorFramework::usingNamespace(null)` to
fetch data.

It causes watcher not registering to possible `WatcherRemovalManager`,
so leaking in `WatcherRemoveCuratorFramework::removeWatchers`.
kezhuw added a commit to kezhuw/curator that referenced this pull request Oct 28, 2024
CURATOR-667(apache#474) fixes asynchronous event path for `getConfig` to
"/zookeeper/config" by using `CuratorFramework::usingNamespace(null)` to
fetch data.

It causes watcher not registering to possible `WatcherRemovalManager`,
so leaking in `WatcherRemoveCuratorFramework::removeWatchers`.
kezhuw added a commit to kezhuw/curator that referenced this pull request Oct 28, 2024
CURATOR-667(apache#474) fixes asynchronous event path for `getConfig` to
"/zookeeper/config" by using `CuratorFramework::usingNamespace(null)` to
fetch data.

It causes watcher not registering to possible `WatcherRemovalManager`,
so leaking in `WatcherRemoveCuratorFramework::removeWatchers`.
kezhuw added a commit that referenced this pull request Jan 19, 2025
CURATOR-667(#474) fixes asynchronous event path for `getConfig` to
"/zookeeper/config" by using `CuratorFramework::usingNamespace(null)` to
fetch data.

It causes watcher not registering to possible `WatcherRemovalManager`,
so leaking in `WatcherRemoveCuratorFramework::removeWatchers`.

Signed-off-by: tison <wander4096@gmail.com>
Co-authored-by: tison <wander4096@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants