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

Jessica Cheng commented on SOLR-3582:
-------------------------------------

{quote}
Never mind - found confirmation elsewhere that session events do not remove the 
watcher. The ZooKeeper programming guide does not appear very clear on this 
when it talks about watches being one time triggers.
{quote}

Mark, is this true even if the event is "Expired"? I don't know how zookeeper 
works in detail, but I'd be surprised if it would keep watchers across sessions 
(how can it figure out which session re-establishment is related to the expired 
session?).

> Our ZooKeeper watchers respond to session events as if they are change 
> events, creating undesirable side effects.
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3582
>                 URL: https://issues.apache.org/jira/browse/SOLR-3582
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.0-BETA, 5.0
>
>
> As brought up by Trym R. Møller on the mailing list, we are responding to 
> watcher events about connection/disconnection as if they were notifications 
> about node changes.
> http://www.lucidimagination.com/search/document/e13ef390b88eeee2



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to