zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mariakatosvich (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2586) zoo_aremove_watchers() does not remove a watch of path has more than one watch
Date Sun, 26 Mar 2017 16:29:42 GMT

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

mariakatosvich commented on ZOOKEEPER-2586:
-------------------------------------------

client hangs in waiting for mutex in mt_adaptor.c:102

> zoo_aremove_watchers() does not remove a watch of path has more than one watch
> ------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2586
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2586
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: prashant
>
> three issues 
> 1)zoo_aremove_watchers() does not remove a watch if path has more than one watch.
> but it works in below cases.
> it removes watch if path has only one watch.
> and it removes all watches if watcher function arguments is NULL.
> Seen in 
> zookeeper.version=3.5.1-alpha--1, built on 06/09/2016 18:31 GMT
> Not sure if this is fixed in later versions.
> 2) If zoo_aremove_watchers()  is called with local=1, then client hangs in waiting for
mutex in mt_adaptor.c:102
> void notify_sync_completion(struct sync_completion *sc)
> {
>     pthread_mutex_lock(&sc->lock);
> ...
> 3) Acts like sync API if no node and no watcher on path.
> it does not call async completion callback in this case.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message