zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Nixon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3385) Add admin command to display leader
Date Sat, 11 May 2019 01:00:07 GMT
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)

Mime
View raw message