curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyun Sik Kang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CURATOR-107) Regarding large number of watch count
Date Thu, 15 May 2014 05:03:20 GMT

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

Hyun Sik Kang updated CURATOR-107:
----------------------------------

    Description: 
It's about issue that zookeeper's watch count is being increased.
I wrote issue on zookeeper mailing list but I couldn't get cool answer yet.

Please share any opinion with us if you have an idea..
http://zookeeper-user.578899.n2.nabble.com/Regarding-large-number-of-watch-count-td7579811.html

Refer to this article.

I've used following code for getting and releasing lock

try {
 lock.acquire(...);
} finally {
 lock.release();
}

Please check if I misunderstood how to use curator properly.
Thank you.

  was:
http://zookeeper-user.578899.n2.nabble.com/Regarding-large-number-of-watch-count-td7579811.html

Refer to this article.

To explain further the code as shown below were used.

try {
 lock.acquire(...);
} finally {
 lock.release();
}

I need a check.


> Regarding large number of watch count
> -------------------------------------
>
>                 Key: CURATOR-107
>                 URL: https://issues.apache.org/jira/browse/CURATOR-107
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Recipes
>    Affects Versions: 2.4.1, 2.4.2
>         Environment: ZooKeeper 3.4.6
>            Reporter: Hyun Sik Kang
>              Labels: locks
>             Fix For: 2.5.0
>
>
> It's about issue that zookeeper's watch count is being increased.
> I wrote issue on zookeeper mailing list but I couldn't get cool answer yet.
> Please share any opinion with us if you have an idea..
> http://zookeeper-user.578899.n2.nabble.com/Regarding-large-number-of-watch-count-td7579811.html
> Refer to this article.
> I've used following code for getting and releasing lock
> try {
>  lock.acquire(...);
> } finally {
>  lock.release();
> }
> Please check if I misunderstood how to use curator properly.
> Thank you.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message