zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Flavio Paiva Junqueira (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ZOOKEEPER-43) Server side of the auto reset watches patch
Date Fri, 17 Oct 2008 23:54:46 GMT

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

Flavio Paiva Junqueira commented on ZOOKEEPER-43:
-------------------------------------------------

This is an interesting new feature. If I understand correctly this patch, a client resets
its watches upon reconnection if its session is renewed. The main idea is to make reconnection
transparent to the client, since with the current code a client has to reset its watches manually.

Resetting the watches does not make it fully transparent, though, as there might have been
events between the time the client was disconnected and the time its watches have been reset.
I wonder how big of a deal this is for ZooKeeper applications.

Because some applications might prefer not to have this feature on due to backward compatibility
or because of potential missed events, it might be a good idea to provide a "switch" that
applications can use to turn this feature on and off.

> Server side of the auto reset watches patch
> -------------------------------------------
>
>                 Key: ZOOKEEPER-43
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-43
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Patrick Hunt
>            Assignee: Benjamin Reed
>             Fix For: 3.0.0
>
>         Attachments: ZOOKEEPER-43.patch, ZOOKEEPER-43.patch, ZOOKEEPER-43.patch, ZOOKEEPER-43.patch
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1975262&group_id=209147&atid=1008546

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message