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

Fix the log statement in FastLeaderElection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.10.0
    • 3.10
    • server

    Description

      The proposedZxid and proposedEpoch is out of order in the following debug statement.

      
       LOG.debug(
                      "Sending Notification: {} (n.leader),  0x{} (n.peerEpoch), 0x{} (n.zxid), 0x{} (n.round), {} (recipient),"+underlined text+
                          + " {} (myid) ",
                      proposedLeader,
                      Long.toHexString(proposedZxid),
                      Long.toHexString(proposedEpoch),
                      Long.toHexString(logicalclock.get()),
                      sid,
                      self.getMyId());
      
      

      Attachments

        Issue Links

          Activity

            People

              li4wang Li Wang
              li4wang Li Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1h 10m
                  1h 10m