Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A5BBC200C3A for ; Fri, 31 Mar 2017 13:45:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A43F3160B8C; Fri, 31 Mar 2017 11:45:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E7609160B80 for ; Fri, 31 Mar 2017 13:45:48 +0200 (CEST) Received: (qmail 48147 invoked by uid 500); 31 Mar 2017 11:45:48 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 48136 invoked by uid 99); 31 Mar 2017 11:45:48 -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; Fri, 31 Mar 2017 11:45:48 +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 A7DB9CA76C for ; Fri, 31 Mar 2017 11:45:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled 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 V6JEG8zPn9DR for ; Fri, 31 Mar 2017 11:45:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C004B5FAD1 for ; Fri, 31 Mar 2017 11:45:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1FEF9E062D for ; Fri, 31 Mar 2017 11:45:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id D2CFA21DD9 for ; Fri, 31 Mar 2017 11:45:41 +0000 (UTC) Date: Fri, 31 Mar 2017 11:45:41 +0000 (UTC) From: "Flavio Junqueira (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ZOOKEEPER-2076) Improve Leader Change Mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 31 Mar 2017 11:45:49 -0000 [ https://issues.apache.org/jira/browse/ZOOKEEPER-2076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950735#comment-15950735 ] Flavio Junqueira commented on ZOOKEEPER-2076: --------------------------------------------- Go for it, [~atris], I've assigned it to you. > Improve Leader Change Mechanism > ------------------------------- > > Key: ZOOKEEPER-2076 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2076 > Project: ZooKeeper > Issue Type: Improvement > Components: server > Affects Versions: 3.5.0 > Reporter: Alexander Shraer > Assignee: Atri Sharma > > When a leader is removed during a reconfiguration, ZOOKEEPER-107 uses a mechanism where the old leader nominates the new one. Although it reduces the time for a new leader to be elected, it still takes too long. This JIRA is for two things: > 1. Improve the mechanism, e.g., avoid loading snapshots, etc. during the handoff. > 2. Make it a first-class citizen & export it as a client API. We get questions about this once in a while - how do I cause a different leader to be elected ? Currently the response is either kill or reconfigure the current leader. > Any one interested to work on this ? -- This message was sent by Atlassian JIRA (v6.3.15#6346)