You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Ashish Singhi (JIRA)" <ji...@apache.org> on 2017/06/28 07:08:00 UTC

[jira] [Commented] (ZOOKEEPER-2527) Connection watch is not getting cleared when watch is created as part of get and it is fired as part of set and client is closed

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

Ashish Singhi commented on ZOOKEEPER-2527:
------------------------------------------

This is duplicate of ZOOKEEPER-2358. The patch in ZOOKEEPER-2358 will solve this issue.

> Connection watch is not getting cleared when watch is created as part of get and it is fired as part of set and client is closed
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2527
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2527
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.5.1
>            Reporter: Rakesh Kumar Singh
>
> Connection watch is not getting cleared when watch is created as part of get and it is fired as part of set and client is closed
> Steps to reproduce:-
> Configure the Zookeeper in ssl mode and start the same
> connect to zookeeper using ./zkCli.sh
> Check the watch status as zero.
> set watch as below :-
> get -w /test
> Check the watch it is like below:-
> BLR1000007042:/home/Rakesh/Zookeeper/18_Aug/zookeeper-3.5.1-alpha/bin # echo wchs | netcat 10.18.101.80 2181
> 1 connections watching 1 paths
> Total watches:1
> let the watch fire as part of below-
> set /test hello
> Here watch is fired when set is done
> Close the client
> Check for the watch. It is not zero but 1
> BLR1000007042:/home/Rakesh/Zookeeper/18_Aug/zookeeper-3.5.1-alpha/bin # echo wchs | netcat 10.18.101.80 2181
> 1 connections watching 0 paths
> Total watches:0
> If we repeat again and again it will keep increasing.
> Tried without SSL mode and it is working fine in that mode.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)