From user-return-11779-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Mon Nov 26 17:09:21 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E382A18077A for ; Mon, 26 Nov 2018 17:09:20 +0100 (CET) Received: (qmail 4842 invoked by uid 500); 26 Nov 2018 16:09:19 -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 4726 invoked by uid 99); 26 Nov 2018 16:09:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2018 16:09:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 66F0DCB8CD for ; Mon, 26 Nov 2018 16:09:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.798 X-Spam-Level: * X-Spam-Status: No, score=1.798 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, KAM_SHORT=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id hjUZT-So33jM for ; Mon, 26 Nov 2018 16:09:11 +0000 (UTC) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-oln040092003023.outbound.protection.outlook.com [40.92.3.23]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0B45D60F54 for ; Mon, 26 Nov 2018 15:58:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ptY1hjsY+8Vc0tVc3yjeY3r7sLB89exnBjyJ0jEvdUA=; b=ROcMvGLQuvQxJTT3+lputnjb+YPBcohHr7A9k16UVzUSH5HW2g4rvnMN4i/QStDucRya+fIu34jI33BcPzyfT1UWceSmUf7ASFiraLfKMzfnPjBL4DScsiWckmhDmOgoJqI8kBf0EENnPgd8jhI2gZBbUHd3vP1VPcIxIS6k/xwyg506gb7fkmXno6Sb1GjSu38h7mhyrCnDKEwbh1m2dMPmFPsxzfEysOgjqQXrLzopmG83B/M6p7dwl4TVWTDbGtwqbzrkhutKTkykbtT77NWa0LXPMzeJQat3OsPlR5Eh+MQdM+jBuU8BUtR2OnlGT5/W9j94+aFVF1vSJUcVBA== Received: from CY1NAM02FT053.eop-nam02.prod.protection.outlook.com (10.152.74.57) by CY1NAM02HT215.eop-nam02.prod.protection.outlook.com (10.152.75.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1339.15; Mon, 26 Nov 2018 15:58:44 +0000 Received: from BN6PR17MB1442.namprd17.prod.outlook.com (10.152.74.57) by CY1NAM02FT053.mail.protection.outlook.com (10.152.74.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1339.15 via Frontend Transport; Mon, 26 Nov 2018 15:58:44 +0000 Received: from BN6PR17MB1442.namprd17.prod.outlook.com ([fe80::dcfa:3de8:1191:223b]) by BN6PR17MB1442.namprd17.prod.outlook.com ([fe80::dcfa:3de8:1191:223b%5]) with mapi id 15.20.1361.019; Mon, 26 Nov 2018 15:58:44 +0000 From: Brian Macker To: "user@zookeeper.apache.org" Subject: Question on non-quorum reads of untimely data Thread-Topic: Question on non-quorum reads of untimely data Thread-Index: AQHUhaDo/vQN5k34L02t6zd9hl+mwA== Date: Mon, 26 Nov 2018 15:58:44 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:658952987DAB4FAF50AFA71BA345887E440E81AA4227A62D80986D7A53808337;UpperCasedChecksum:6CDAF45B848EBB12EA9EF716A10BB8AEB8AEF2D01320D93C83E39CB96A266B90;SizeAsReceived:6910;Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [xOFFHcfuMraVhQwOhVmJUXGbW2imvUCn] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY1NAM02HT215;6:OTsamIhjKtKvqWrCidpC0S+3FGhKOgGLXOdWd027Hbs+79W6vX+DX9B9VADM75QMwGuPZcqzBHvyLP3GtK3qSS7GMKQ4R7BgHFwrZVQkimAiHWEeFZws1a4leb6t1ccZ1aJ2ZOfnOPiv5i5YcsN75Z0xZHz4wRPEfEPbYuO5lbGp92ZdOIupyTRlCGS7+Zph4F5ODcgIRgeIbfwEzXzWCQ36TbE4Wij+ay1L8TE+ZL0tTCxLFBtAFz21MEMXmhKjXKyEiQpYzRn0mmEOxmqVNy9ZJ3aVy2r/8M4vZDXcloHRBPhBhBAV33KvRvd2NSNySQd3yG1PtrsqFft0uUoXBeLLUe1rj1O9QFaM/m8C8InEyxsoDz8ETagNlxZaak+4kO5VVetn32+BQJmeCOkpecLiY1hcSw654LlKBNtfhp0zLsYDCy/4cjs4w2GL1dUYLKcNd6Hqzjh9dQQRFKUC6g==;5:SU6erxvdQcsyxH38CWdCrtNbJpt9vJ+ZQFRRqRmpyk0ZSDleqwdCi8u6G8Y9MMe0KOr36f4aUw1wXBfZy86bMgeyTNMO3Hc5rUvzWipYaPaQfkdPCRq7s+DASuGoabsWv3lP4t4cAC+jrdz3CiWbLwf65wAJpuKgPBsxrFF51Fo=;7:WEB8cVTLXBaHXI92oZWyLwxlkxQ0qIgtcYf9Vtqa+5Z6hUdEh/na4SdLgeRcSgQzMG1C1miDnX6F8hRVSzTvkz3sCewXoL62JSZ2M5VzaS/0SWbLrn+c8HmLPBzHT91l2h5dchxiY7vp7jPowW5eGQ== x-incomingheadercount: 44 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101475)(1601125500)(1701031045);SRVR:CY1NAM02HT215; x-ms-traffictypediagnostic: CY1NAM02HT215: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(4566010)(82015058);SRVR:CY1NAM02HT215;BCL:0;PCL:0;RULEID:;SRVR:CY1NAM02HT215; x-microsoft-antispam-message-info: 5VlNhtHhhMTfNjT3/F34xEdCtJOyHgAApM9xU1xhrdd3tsez8k5ACRzw+E0C+Tl0 Content-Type: multipart/alternative; boundary="_000_BN6PR17MB14426BE5BC7A063A4CBEAC0DD6D70BN6PR17MB1442namp_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: dd759f05-a917-4aa0-a2f5-4cc35c50e0c8 X-MS-Exchange-CrossTenant-Network-Message-Id: 777079fa-9b34-4674-2464-08d653b80b46 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: dd759f05-a917-4aa0-a2f5-4cc35c50e0c8 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2018 15:58:44.6917 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1NAM02HT215 --_000_BN6PR17MB14426BE5BC7A063A4CBEAC0DD6D70BN6PR17MB1442namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have researched and could find not clear answer for this situation in the= documentation, tutorials, ornon other sites. Hypothetical: I need to read configuration information from a zookeeper ser= ver. Stale data is acceptable. Untimely data is acceptable. However network failures occurred. The client is only able to connect to a= zookeeper server not currently a part of any quorum, due to network proble= ms. Assume that all the servers accessible from the client have in fact al= ready detected disconnection from leader and inablity to elect a new leader= . [Each acessible server is part of a minority (non-quorum) of the entire e= nsemble]. Also assume that the consistency rule on timeliness has been exceeded, and = all accessible minority servers know this. Question: Can the client read untimely (and potentially stale) data out of = one of the accessible untimely minority server nodes, or does it recieve so= me error result instead? I am concerned that a Spring Boot Cloud Config set up to use Zookeeper coul= d prevent an application from fetching its configuration info, and starting= in this scenario, without some independent local caching of configuration = info. This would be bad in a three site scenario where ZooKeeper is only used for= configuration. Normally one site up should be able to run, but in this c= ase Zookeeper becomes an additional fatal failure source when it rejects th= e read of configuration info. Thank you, Brian Macker Get Outlook for Android --_000_BN6PR17MB14426BE5BC7A063A4CBEAC0DD6D70BN6PR17MB1442namp_--