Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8CB2F7F3E for ; Wed, 31 Aug 2011 14:06:04 +0000 (UTC) Received: (qmail 198 invoked by uid 500); 31 Aug 2011 14:06:04 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 99888 invoked by uid 500); 31 Aug 2011 14:06:03 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 99880 invoked by uid 99); 31 Aug 2011 14:06:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 14:06:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [96.126.116.192] (HELO hep.cat) (96.126.116.192) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 14:05:56 +0000 Received: from [IPv6:2001:470:1f07:d28:9442:3c17:14b:9379] (unknown [IPv6:2001:470:1f07:d28:9442:3c17:14b:9379]) by hep.cat (Postfix) with ESMTP id 3A850471D2 for ; Wed, 31 Aug 2011 14:05:34 +0000 (UTC) X-DKIM: OpenDKIM Filter v2.2.2 hep.cat 3A850471D2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hep.cat; s=default; t=1314799534; bh=sL3v4lP7wDtiJPFRAnSHtDsfwPlYdvj47zOfGK//W7I=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date: Content-Transfer-Encoding:Message-Id:References:To; b=pJ8Hymau4phbijgTnCcjxRITvbnu861M3gk3Gh3FtuW7B2WcZ4+pMgZf0Q1PArh1x iINg1+Aly8sonbQeS+izHusprpG5Ud6QTbdOXqSZUl3CFEMCt9VifBv0MH5Wz3HXEs lW2LkfRNSf9hZIW+0CpVhL8bIvQGtxWWf6Qgeuhg= Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1244.3) Subject: Re: sync() From: nicholas harteau In-Reply-To: Date: Wed, 31 Aug 2011 10:05:46 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <1FDDF440-42D2-423C-8884-E9D6E26A35D9@hep.cat> References: To: user@zookeeper.apache.org X-Mailer: Apple Mail (2.1244.3) X-Virus-Checked: Checked by ClamAV on apache.org There don't seem to be any references to a sync() call in the C = bindings, and I assume that the syncronous vs. asyncronous methods have = more to do with threading than 'sync' in the ZK API sense. How does one invoke sync() from the C API? On Aug 30, 2011, at 1:18 PM, Patrick Hunt wrote: > All reads. >=20 > On Tue, Aug 30, 2011 at 10:12 AM, Jordan Zimmerman > wrote: >> Thanks - if I understand correctly, this only applies to reads. Is = that >> reads on data only (getData) or both data and a list of a Znode's = children >> (getChildren)? >>=20 >> On 8/30/11 10:07 AM, "Patrick Hunt" wrote: >>=20 >>> See this section of the programmers guide: >>> = http://zookeeper.apache.org/doc/r3.3.3/zookeeperProgrammers.html#ch_zkGuar= >>> antees >>>=20 >>> specifically the section "Simultaneously Consistent Cross-Client = Views" >>>=20 >>> Patrick >>>=20 >>> On Tue, Aug 30, 2011 at 9:52 AM, Jordan Zimmerman >>> wrote: >>>> When/why does sync() need to be called? I've searched the archive = and >>>> the >>>> docs are non-existent. Any examples would be appreciated. >>>>=20 >>>> -JZ >>>>=20 >>>>=20 >>>=20 >>=20 >>=20 -- n@hep.cat (>^-^)>