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 147B7108B7 for ; Tue, 5 Nov 2013 19:32:14 +0000 (UTC) Received: (qmail 69429 invoked by uid 500); 5 Nov 2013 19:32:13 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 69390 invoked by uid 500); 5 Nov 2013 19:32:13 -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 69382 invoked by uid 99); 5 Nov 2013 19:32:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Nov 2013 19:32:13 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [160.83.84.98] (HELO nyginsmp04.us.db.com) (160.83.84.98) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Nov 2013 19:32:08 +0000 Received: from USTLMDBG052.us.db.com (USTLMDBG052.us.db.com [10.249.251.28]) by nyginsmp04.us.db.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id rA5JVkIp022438 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 5 Nov 2013 19:31:47 GMT Received: from ustlcdbg001.US.DB.COM ([169.254.2.61]) by USTLMDBG052.us.db.com ([10.249.251.28]) with mapi; Tue, 5 Nov 2013 13:31:46 -0600 From: Adrian Osullivan To: "user@zookeeper.apache.org" Date: Tue, 5 Nov 2013 13:31:45 -0600 Subject: Sync question Thread-Topic: Sync question Thread-Index: Ac7aXaf6LBaPTxvlRGmw5MC3GluQtQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-version: 3.5.10.6 x-tituslabs-classifications-30: TLPropertyRoot=db.com;Classification=External Communication; x-tituslabs-classificationhash-30: 2PrCjJ7f5poVv9TjWbkmkr5/raapRDpePbL/CYSz/LdvoXSnnVRPX/JSgNGI8PuhUkCPsTkWeUHwJUZbfNNHYkKeAFDX6Tu58vJ6hIauvZ+2FbvLKpDNfi0rXkdPIfjQLQzgIbpU5YIK7efvciBAjdktZaYPxCncqelXI11FSR7Q/4BhT8KD/RNHg1+JdzGMxk+GvibuR0d7982CmaIs/w== acceptlanguage: en-US x-trailer: Yes Content-Type: multipart/alternative; boundary="_000_E0699BDD1C95EC4190CF27C12C6D72DD0102DE75500DUSTLCDBG001_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_E0699BDD1C95EC4190CF27C12C6D72DD0102DE75500DUSTLCDBG001_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi everyone! The zk API's sync() method brings the server up to date with = the leader. So the next client read should give the up to date value. But= in the time between completing the sync and starting the read, another cli= ent may have sent an update and the server one is connected to may again la= g the leader. So it seems there is no mechanism is zookeeper for guarantee= ing a read is truly up to date with the leader. Is this true? --- This communication may contain confidential and/or privileged information. = If you are not the intended recipient (or have received this communication = in error) please notify the sender immediately and destroy this communicati= on. Any unauthorized copying, disclosure or distribution of the material in= this communication is strictly forbidden. Deutsche Bank does not render legal or tax advice, and the information cont= ained in this communication should not be regarded as such. --_000_E0699BDD1C95EC4190CF27C12C6D72DD0102DE75500DUSTLCDBG001_--