zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Hunt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-1910) RemoveWatches wrongly removes the watcher if multiple watches exists on a path
Date Tue, 29 May 2018 18:51:00 GMT

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

Patrick Hunt updated ZOOKEEPER-1910:
------------------------------------
    Fix Version/s: 3.6.0

> RemoveWatches wrongly removes the watcher if multiple watches exists on a path
> ------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1910
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1910
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client, server
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>            Priority: Major
>             Fix For: 3.5.0, 3.6.0
>
>         Attachments: ZOOKEEPER-1910.patch, ZOOKEEPER-1910.patch, ZOOKEEPER-1910.patch,
ZOOKEEPER-1910.patch
>
>
> Consider a case where zkclient has added 2 data watchers(say 'w1' and 'w2') on '/node1'.
> Now user has removed w1, but this is deleting the 'CnxnWatcher' in ZK server against
the "/node1" path. This will affect other data watchers(if any) of same client on same path.
In our case 'w2' would not be notified.
> Note: please see the attached test case to understand more.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message