[jira] [Commented] (CURATOR-654) DistributedBarrier watcher leak

2022-10-04 Thread Zili Chen (Jira)


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

Zili Chen commented on CURATOR-654:
---

Hi [~sscott]! Thanks for your reporting. You can directly send a pull request 
against the GitHub repository https://github.com/apache/curator. And please add 
a test case to the patch.

> DistributedBarrier watcher leak
> ---
>
> Key: CURATOR-654
> URL: https://issues.apache.org/jira/browse/CURATOR-654
> Project: Apache Curator
>  Issue Type: Bug
>  Components: Recipes
>Affects Versions: 5.3.0
>Reporter: Stuart Scott
>Priority: Major
> Attachments: 
> CURATOR-654__Remove_watchers_after_waiting_for_barrier_.patch
>
>
> The DistributedBarrier adds a zookeeper exists watcher in the waitOnBarrier() 
> method. It appears as though the watcher is never removed. In a system where 
> DistributedBarriers are used heavily this eventually results in the system 
> running out of memory.



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


[jira] [Updated] (CURATOR-654) DistributedBarrier watcher leak

2022-10-04 Thread Stuart Scott (Jira)


 [ 
https://issues.apache.org/jira/browse/CURATOR-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stuart Scott updated CURATOR-654:
-
Attachment: CURATOR-654__Remove_watchers_after_waiting_for_barrier_.patch

> DistributedBarrier watcher leak
> ---
>
> Key: CURATOR-654
> URL: https://issues.apache.org/jira/browse/CURATOR-654
> Project: Apache Curator
>  Issue Type: Bug
>  Components: Recipes
>Affects Versions: 5.3.0
>Reporter: Stuart Scott
>Priority: Major
> Attachments: 
> CURATOR-654__Remove_watchers_after_waiting_for_barrier_.patch
>
>
> The DistributedBarrier adds a zookeeper exists watcher in the waitOnBarrier() 
> method. It appears as though the watcher is never removed. In a system where 
> DistributedBarriers are used heavily this eventually results in the system 
> running out of memory.



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


[jira] [Created] (CURATOR-654) DistributedBarrier watcher leak

2022-10-04 Thread Stuart Scott (Jira)
Stuart Scott created CURATOR-654:


 Summary: DistributedBarrier watcher leak
 Key: CURATOR-654
 URL: https://issues.apache.org/jira/browse/CURATOR-654
 Project: Apache Curator
  Issue Type: Bug
  Components: Recipes
Affects Versions: 5.3.0
Reporter: Stuart Scott


The DistributedBarrier adds a zookeeper exists watcher in the waitOnBarrier() 
method. It appears as though the watcher is never removed. In a system where 
DistributedBarriers are used heavily this eventually results in the system 
running out of memory.



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