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

zookeeper leader election time metric not reported correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      We added support to pro-actively give up leadership when a node is going down. With this the leader nominates the next leader before giving up leader ship. This avoids the leadership election. There is a bug where they calculate the election time. Normally when the leadership election starts, the start time is noted, and after the election the delta between the current time and startup time is used to determine the leadership time. But now since we are avoiding the leadership election, the start time is not updated this shows up as a big delta.

      example: 

      FOLLOWING - LEADER ELECTION TOOK - 1206674579 MS

      Attachments

        Activity

          People

            Unassigned Unassigned
            rotundelephant Benton Liang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: