From dev-return-101624-apmail-lucene-dev-archive=lucene.apache.org@lucene.apache.org Thu Jun 28 05:11:53 2012 Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB9A1954E for ; Thu, 28 Jun 2012 05:11:52 +0000 (UTC) Received: (qmail 62542 invoked by uid 500); 28 Jun 2012 05:11:50 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 61851 invoked by uid 500); 28 Jun 2012 05:11:47 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 61683 invoked by uid 99); 28 Jun 2012 05:11:46 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2012 05:11:46 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 8FB8D14284F for ; Thu, 28 Jun 2012 05:11:44 +0000 (UTC) Date: Thu, 28 Jun 2012 05:11:44 +0000 (UTC) From: =?utf-8?Q?Trym_M=C3=B8ller_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: <765380171.65494.1340860304593.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1745576509.62700.1340817943931.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Comment Edited] (SOLR-3582) Leader election zookeeper watcher is responding to con/discon notifications incorrectly. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3582?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13402= 851#comment-13402851 ]=20 Trym M=C3=B8ller edited comment on SOLR-3582 at 6/28/12 5:10 AM: ------------------------------------------------------------ Debugging the provided test shows this behaviour as well, that is, the Watc= h is kept even though, its notified about disConnection and syncConnection = and the Watch will first "stop" after it has been notified about a node cha= nge. As Mark writes on the mailing list, there might be other ZooKeeper Watchers= in Solr which might add new watchers on reconnect. If we agree about the ZooKeeper watcher behaviour, then I think that the pr= ovided bug fix solves the problem in the LeaderElector and it can be commit= ted to svn independently of problems with other watchers. Best regards Trym =20 was (Author: trym): Debugging the provided test shows this behaviour as well, that is, the = Watch is kept even though, its notified about disConnection and syncConnect= ion and the Watch will first "stop" after a node change occurs. As Mark writes on the mailing list, there might be other ZooKeeper Watchers= in Solr which might add new watchers on reconnect. If we agree about the ZooKeeper watcher behaviour, then I think that the pr= ovided bug fix solves the problem in the LeaderElector and it can be commit= ted to svn independently of problems with other watchers. Best regards Trym =20 > Leader election zookeeper watcher is responding to con/discon notificatio= ns incorrectly. > -------------------------------------------------------------------------= --------------- > > 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, 5.0 > > > As brought up by Trym R. M=C3=B8ller on the mailing list, we are respondi= ng to watcher events about connection/disconnection as if they were notific= ations about node changes. > http://www.lucidimagination.com/search/document/e13ef390b88eeee2 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org