Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@locus.apache.org Received: (qmail 68498 invoked from network); 7 Jan 2009 03:13:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jan 2009 03:13:30 -0000 Received: (qmail 28764 invoked by uid 500); 7 Jan 2009 03:13:30 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 28748 invoked by uid 500); 7 Jan 2009 03:13:30 -0000 Mailing-List: contact zookeeper-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-user@hadoop.apache.org Delivered-To: mailing list zookeeper-user@hadoop.apache.org Received: (qmail 28737 invoked by uid 99); 7 Jan 2009 03:13:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 19:13:30 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [69.147.107.21] (HELO mrout2-b.corp.re1.yahoo.com) (69.147.107.21) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 03:13:21 +0000 Received: from SNV-EXPF01.ds.corp.yahoo.com (snv-expf01.ds.corp.yahoo.com [207.126.227.250]) by mrout2-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id n073CITc005903 for ; Tue, 6 Jan 2009 19:12:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:user-agent:date:subject:from:to:message-id: thread-topic:thread-index:in-reply-to:mime-version:content-type: content-transfer-encoding:return-path:x-originalarrivaltime; b=eZqbiPeMZ21bWqYP47SVwPY9R6W9IPJEdb33xQyO6I1gvmEjxE7dYNo1XhAdkwla Received: from SNV-EXVS09.ds.corp.yahoo.com ([207.126.227.86]) by SNV-EXPF01.ds.corp.yahoo.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 6 Jan 2009 19:12:18 -0800 Received: from 10.73.146.106 ([10.73.146.106]) by SNV-EXVS09.ds.corp.yahoo.com ([207.126.227.84]) via Exchange Front-End Server snv-webmail.corp.yahoo.com ([207.126.227.60]) with Microsoft Exchange Server HTTP-DAV ; Wed, 7 Jan 2009 03:12:18 +0000 User-Agent: Microsoft-Entourage/12.15.0.081119 Date: Tue, 06 Jan 2009 19:12:16 -0800 Subject: Re: Simpler ZooKeeper event interface.... From: Mahadev Konar To: Message-ID: Thread-Topic: Simpler ZooKeeper event interface.... Thread-Index: Aclwdb4fHhqNUrFJBkK8xtfWnbOHMQ== In-Reply-To: <30c6373b0901061657y61d329e4m73745c4f3a18ef8a@mail.gmail.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 07 Jan 2009 03:12:18.0154 (UTC) FILETIME=[BF6854A0:01C97075] X-Virus-Checked: Checked by ClamAV on apache.org http://issues.apache.org/jira/browse/ZOOKEEPER-23 This has been fixed in zookeeper-3.0 release. Are you using a release from sourceforge? mahadev On 1/6/09 4:57 PM, "Kevin Burton" wrote: > This could be simplified if the semantics for reconnect were simplified. > Is there any reason why I should know about a disconnect if ZK is just going > to reconnect me to another server in 1ms? > > Why not hide *all* of this form the user and have the client re-issue > watches on reconnect and hold off on throwing exceptions if the server > returns. > > This would allow the user to just handle three conditions... total ensemble > failure, no ACL permission, or no node existing (of vice-versa). > > Kevin > > >> If I run an async request, the client should replay these if I'm >> reconnected to another host. >> >> -- > Founder/CEO Spinn3r.com > Location: San Francisco, CA > AIM/YIM: sfburtonator > Skype: burtonator > Work: http://spinn3r.com