Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3385

Add admin command to display leader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.6.0
    • 3.6.0
    • server

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            enixon Brian Nixon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 10m
                3h 10m