From user-return-12202-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Thu Oct 3 13:14:46 2019 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id B123918065B for ; Thu, 3 Oct 2019 15:14:45 +0200 (CEST) Received: (qmail 66744 invoked by uid 500); 3 Oct 2019 13:14:43 -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 66732 invoked by uid 99); 3 Oct 2019 13:14:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Oct 2019 13:14:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 029CDC1E80 for ; Thu, 3 Oct 2019 13:14:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.2 X-Spam-Level: X-Spam-Status: No, score=-0.2 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id y6MoFDNbVOah for ; Thu, 3 Oct 2019 13:14:40 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::42b; helo=mail-wr1-x42b.google.com; envelope-from=jornfranke@gmail.com; receiver= Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 2DCC07DDF4 for ; Thu, 3 Oct 2019 13:14:40 +0000 (UTC) Received: by mail-wr1-x42b.google.com with SMTP id n14so2825773wrw.9 for ; Thu, 03 Oct 2019 06:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:date:subject:message-id :references:in-reply-to:to; bh=FevDz9WqfLmjGM0Cglm3igmYIINUJ4942hvSKBG90Xs=; b=afltxVefJ+d4VbghqbO3Hd4luolwJ5RGpPJQLAXd0cZRV/LEzki3XLmhLniMLX/sPW 6qI4J6JoDT7/wFtPrGREnCxxRhREmoo0PjUOG2fY9biSwxmeWNM+zAOwMdnoklXiEPCQ fPxOMz6I2oe6Qsf8nmU5njqoXmas3HpjNGI6k90dr9Kyh8UdCmfxGJyZYpGu9YbtpqDq 41boa+1JqJb8KRHf3VsolTPMq9ASiYBi36LKSjd92HiAz7jeDa06GlGUC/o/o5Kt7XEa 586lyxSX2hfUyvjovSIfT/GCJQWkppqQ7We1ix12mE/eG2tyV5y0v4FMJmvkXWZH4QLr 4B2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version:date :subject:message-id:references:in-reply-to:to; bh=FevDz9WqfLmjGM0Cglm3igmYIINUJ4942hvSKBG90Xs=; b=VBWTj7DXNu7zLhJr3+QPlEM2aNVuEbTdcL8q8IJ+fP2hEn4/aKnCLSHaZxuoiuffmq FvSlfcT2FIrLPvpQOJ1MIk0xMV2886HSk0So1wEl4zZx7fvKgQGsl8rXDK8IPrHAMoWm lGvEMD2k88DZbL+RRUEz5hJ5iQ0RXJRH8Nz41UqAWP3eTBdSu1Z/YOgZYvzlkzfW3y6Z s6/yMrs4JOpgfosrnfXi9Oj/AP1HgKpgL0P8cI8brd5tGF/is57NeOoIfUXD5mEDQKuS RrmzhFVirRNwX+7QK8NAbcGlfWQ6rlSqRR27bsh3QtYbU4i0TGKrUQEDVApoexJV8L7z UCMA== X-Gm-Message-State: APjAAAVJaK1YuvApklBsqZAjnmQ7dqjaKn4YJL9g/aHw8AQecmWCVL0U J/k9bU9gtesxt7YAb0hkb/SrOraJcvY= X-Google-Smtp-Source: APXvYqykfLJ2QJVBc3kxkPozc4gdXtpNw/LRJtu/JNuPhT3rQC/5J3gpp0tXQzEsU663joigraPf6Q== X-Received: by 2002:adf:ce01:: with SMTP id p1mr5659726wrn.115.1570108473591; Thu, 03 Oct 2019 06:14:33 -0700 (PDT) Received: from ?IPv6:2a02:908:1a7:1200:d8f6:5313:83f1:740? ([2a02:908:1a7:1200:d8f6:5313:83f1:740]) by smtp.gmail.com with ESMTPSA id q66sm2337818wme.39.2019.10.03.06.14.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Oct 2019 06:14:32 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: =?utf-8?Q?J=C3=B6rn_Franke?= Mime-Version: 1.0 (1.0) Date: Thu, 3 Oct 2019 15:14:31 +0200 Subject: Re: One node crashing in 3.4.11 triggered a full ensemble restart Message-Id: <1B34A20D-E336-402E-B777-7782FED5BE88@gmail.com> References: <493abdd0-7a44-f12c-b5aa-c2b5118d5cef@elyograg.org> In-Reply-To: <493abdd0-7a44-f12c-b5aa-c2b5118d5cef@elyograg.org> To: user@zookeeper.apache.org X-Mailer: iPhone Mail (17A861) I can confirm that a rolling update from Zk 3.4 to ZK 3.5 is possible if and= only if a ZK ensemble is used. standalone updates may introduce difficultie= s.=20 Of course I cannot tell for all possible setups, but for a ZK ensemble with m= ultiple Solr instances it is possible. > Am 03.10.2019 um 14:55 schrieb Shawn Heisey : >=20 > =EF=BB=BFOn 10/3/2019 2:45 AM, Norbert Kalmar wrote: >> As for running a mixed version of 3.5 and 3.4 quorum - I'm afraid it will= >> not work. =46rom 3.5 we have a check on PROTOCOL_VERSION. 3.4 did not hav= e >> this protocol version, so when the nodes try to communicate it will throw= >> an exception. Plus, it is not a goal to keep quorum protocol backward >> compatible, so chances are even without the check it would not work. >=20 > This document suggests that a mixed environment of 3.4 and 3.5 will work: >=20 > https://cwiki.apache.org/confluence/display/ZOOKEEPER/ReleaseManagement >=20 > But you seem to be saying that it won't. >=20 > As a committer on the Lucene/Solr project (which uses ZK) I am wondering w= hat we can tell our users about upgrading ZK. I was under the impression fr= om the wiki page I linked that they could do a rolling upgrade with zero dow= ntime, where they do one ZK server at a time. Are you saying that this is n= ot possible? >=20 > The Upgrade FAQ that you linked doesn't say anything about 3.4 and 3.5 not= working together. The only big gotcha I see there is ZOOKEEPER-3056, which= has a workaround. >=20 > (I think of 4lw whitelisting as just a config problem with a new default, n= ot a true upgrade issue) >=20 > Thanks, > Shawn