From user-return-6-archive-asf-public=cust-asf.ponee.io@ratis.incubator.apache.org Thu Jul 26 18:30:26 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 0C0AE180621 for ; Thu, 26 Jul 2018 18:30:25 +0200 (CEST) Received: (qmail 11401 invoked by uid 500); 26 Jul 2018 16:30:25 -0000 Mailing-List: contact user-help@ratis.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ratis.incubator.apache.org Delivered-To: mailing list user@ratis.incubator.apache.org Received: (qmail 11385 invoked by uid 99); 26 Jul 2018 16:30:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2018 16:30:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id F3DF718071F for ; Thu, 26 Jul 2018 16:30:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.111 X-Spam-Level: X-Spam-Status: No, score=-0.111 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id VSy8CgI9lWUe for ; Thu, 26 Jul 2018 16:30:23 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id CA5A55F381 for ; Thu, 26 Jul 2018 16:30:22 +0000 (UTC) Received: by mail-wr1-f50.google.com with SMTP id h15-v6so2314529wrs.7 for ; Thu, 26 Jul 2018 09:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=KTncHrKYYqfojyeIk7lk5J21dFHf3BZCmRWOidp3haQ=; b=njOomIkAjXqO7BcjhXUizObMOUVJZI5wCnehBTRBE1sEQwgFWSqMAcsSeft0Xj9X6h +zfvhD73Mn/tyXgKOAZMGIa4AkL6m3gQHk3M5f7/7o7KfRv/1kPyyTRcQZ2MujHqHsHr MVm/2mxWQvhIK65OFA7HmKlradEmyCheVr/2y8wYfG5x8cYCgxPARtpTf2uqv/NY8JlQ DhIYdRCtgRiOKAxnMuomXFnnE507iVkd0UXVa6psAv141xfxo1/neelcnAXW4Hfnm4tF 2LsprMJNKCeFaqz7mMBpMLju+ui0NKhK97mZujBG4ZZua/DyGdI6TNJBteZaCYWqrvq/ onNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=KTncHrKYYqfojyeIk7lk5J21dFHf3BZCmRWOidp3haQ=; b=kzSHyygiAs/6Xu9pLrL6w1+7h5qJ8Tlg49DYowVmoySdE9/EMNC63dH7hL+kmHdjmb wIh6BfGAiUP/tqJl2g3fuf581xEmZ1MlX8WDaaMpgOhZs1bbP0RCQazPDnEeUVpTN9uN /XpVxYGRTAZsybgLH3Z1AUO5FF5gWkVxIGN1nMufat5/Ab5b6UALzPvbF/oDgcHC+RBJ Kt1i8UPqmo7BfNsOKzYUts3wNNjvPPSeYg8bmHueKFDHNbnmpQJEa/8EB4f5l6z9bxwO FEHle5G7o43wV0ByNENxeAhWYAgYkWwXKHuDYh12//1F3Mz82mCa9UvAM1teFrO1nb3a bGTQ== X-Gm-Message-State: AOUpUlHSlUjKroyc5mtRhkrX4LJcSRwcz9+VL8mhjNnq60pFbLb4Xkki igTt7K1Ldwf1FNZEJL0JNQIruyfyFyzZeX2+Mt0ty0fW X-Google-Smtp-Source: AAOMgpcYMf8CQFeuShPCME5nNG7FGqTobJCmkjWxAF1U/mVBWfcJlAWX9OSjRcvddwL4qhqUmkJemARiB6h2H/L3PVM= X-Received: by 2002:adf:ff49:: with SMTP id u9-v6mr2270882wrs.15.1532622622384; Thu, 26 Jul 2018 09:30:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tsz Wo Sze Date: Thu, 26 Jul 2018 09:30:11 -0700 Message-ID: Subject: Re: Adding or replacing servers To: user@ratis.incubator.apache.org Content-Type: text/plain; charset="UTF-8" Hi Owen, Thanks for looking at the code. There is a setConfiguration[Async] method in RaftClient[Asynchronous]Protocol to change membership. It can add a new server or replace a failed server. You may want to take a look RaftReconfigurationBaseTest and its subclasses. Please feel free to let me know if you have more questions. Tsz-Wo On Thu, Jul 26, 2018 at 8:37 AM Owen O'Malley wrote: > > Hi, > Looking at the code, it doesn't look like there is any way to add a new server or replace a failed server in the quorum. Did I miss something? Is that planned functionality? > > Thanks, > Owen