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 074B510760 for ; Mon, 10 Nov 2014 22:39:38 +0000 (UTC) Received: (qmail 14752 invoked by uid 500); 10 Nov 2014 22:39:37 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 14707 invoked by uid 500); 10 Nov 2014 22:39:37 -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 14695 invoked by uid 99); 10 Nov 2014 22:39:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2014 22:39:37 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.220.53] (HELO mail-pa0-f53.google.com) (209.85.220.53) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2014 22:39:31 +0000 Received: by mail-pa0-f53.google.com with SMTP id kx10so9195287pab.40 for ; Mon, 10 Nov 2014 14:39:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version:content-type; bh=YF4E097ah6VeMpjX9pH6p8AneXPk0hXPk4KOVn6iyk8=; b=fmMHF3QKBFHkm9/ktJ+y+IKey2XYJlC+Xtv7HFtvBzJRFhUeG/wPieRxZGgcwuaOon uleJf3Roo16mbAU6gpvZhXr0AFKdJw/zXwlWxFXP2kfDN+u+aM2cTlNE8xDnEbCcYGXN 0V945oqR+kLBZ1jGD+2IcEt5ihl5H9Ch+vNGsFBuYgNyBaVZ9szf+WhftUZPSCJDhDML Puikhj82qJs8a3lZsYi9b8IN5DWrVI1+sNW5NUSx0juun2AjUPEi+vFoP4nJf1vixfjH YhPRrbofNwCbffmT2sKbSib+UWhDEpYDefrbqqbJ0/7IwpQaSBYe2JSiRXSCJlZHXxqa 5/Pw== X-Gm-Message-State: ALoCoQk+iC2Ly6dStFVMM1lFSJTzmw0QLYVdd7uHJndeW+M0UbRyO3uh85FGOLFr7CoufdpCVech X-Received: by 10.66.160.74 with SMTP id xi10mr15286010pab.72.1415659151268; Mon, 10 Nov 2014 14:39:11 -0800 (PST) Received: from Jordans-MacBook-Pro.local ([190.141.38.38]) by mx.google.com with ESMTPSA id uj7sm17598777pac.4.2014.11.10.14.39.10 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Mon, 10 Nov 2014 14:39:10 -0800 (PST) Date: Mon, 10 Nov 2014 17:39:08 -0500 From: Jordan Zimmerman To: Alexander Shraer , user@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: Re: NewConfigNoQuorum? X-Mailer: Airmail (249) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="54613e8c_436c6125_6a75" X-Virus-Checked: Checked by ClamAV on apache.org --54613e8c_436c6125_6a75 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Curator has a configurable retry policy. Most people use an Exponential r= etry limited to 3-5 times. -JZ On November 10, 2014 at 5:14:26 PM, Alexander Shraer (shralex=40gmail.com= ) wrote: This happens if you're trying to reconfigure to a new configuration S' bu= t =20 there is no quorum of S' connected =20 and synced with the current leader. This could be either transient or mor= e =20 serious, depends... =20 =46or example it could be the case that you are trying to add a few serve= rs =20 and there is a lot of state so =20 syncing isn't complete yet and you just need to retry later. On the other= =20 hand it could be that S' includes =20 servers that have crashed or don't exist, so retrying won't help. =20 On Mon, Nov 10, 2014 at 8:54 AM, Ivan Kelly wrote: =20 > Isn't this a transient error that occurs while the cluster is =20 > reconfiguring=3F Seems to me that a retry would be correct. =20 > =20 > -Ivan =20 > =20 > On 10 November 2014 16:56, Jordan Zimmerman =20 > wrote: =20 > > In Alexander=E2=80=99s ZK meetup talk, he mentioned a new exception: = =20 > NewConfigNoQuorum. How should Curator handle this=3F Should the reconfi= g =20 > operation just be retried when this is thrown or does it imply a deeper= =20 > problem=3F =20 > > =20 > > -Jordan =20 > > =20 > > =20 > =20 --54613e8c_436c6125_6a75--