From dev-return-80899-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Sat May 11 01:00:10 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 AE70A18061A for ; Sat, 11 May 2019 03:00:09 +0200 (CEST) Received: (qmail 18666 invoked by uid 500); 11 May 2019 01:00:08 -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 18654 invoked by uid 99); 11 May 2019 01:00:08 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 May 2019 01:00:08 +0000 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 182EBE2B61 for ; Sat, 11 May 2019 01:00:08 +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 A041B25813 for ; Sat, 11 May 2019 01:00:07 +0000 (UTC) Date: Sat, 11 May 2019 01:00:07 +0000 (UTC) From: "Brian Nixon (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ZOOKEEPER-3385) Add admin command to display leader MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Brian Nixon created ZOOKEEPER-3385: -------------------------------------- Summary: Add admin command to display leader Key: ZOOKEEPER-3385 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3385 Project: ZooKeeper Issue Type: Improvement Components: server Affects Versions: 3.6.0 Reporter: Brian Nixon Each QuorumPeer prints the identity of the server it believes is the leader in its logs but that is not easily turned into diagnostic information about the state of the ensemble. It can be useful in debugging various issues, both when a quorum is struggling to be established and when a minority of peers are failing to follow, to see at a glance which peers are following the leader elected by the majority and which peers are either not following or following a different server. Create an admin command that exposes which server a peer believes is the current leader. -- This message was sent by Atlassian JIRA (v7.6.3#76005)