ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-518

DEBUG message for outstanding proposals in leader should be moved to trace.

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 3.2.1, 3.3.0
    • Component/s: tests
    • Labels:
    • Environment:

      Non specific

    • Hadoop Flags:
      Reviewed
    • Release Note:
      The released of this module should be done only in apache org as this module is move to the debug to trace since it will cause really high latenciesinin response times from zookeeper services in case folks want to use DEBUGlogging for servers.

      Description

      this is the code in Leader.java

       if (LOG.isDebugEnabled()) {
                  LOG.debug("Ack zxid: 0x" + Long.toHexString(zxid));
                  for (Proposal p : outstandingProposals.values()) {
                      long packetZxid = p.packet.getZxid();
                      LOG.debug("outstanding proposal: 0x"
                              + Long.toHexString(packetZxid));
                  }
                  LOG.debug("outstanding proposals all");
              }
      
      

      We should move this debug to trace since it will cause really high latencies in response times from zookeeper servers in case folks want to use DEBUG logging for servers.

        Activity

          People

          • Assignee:
            Patrick Hunt
            Reporter:
            Mahadev konar
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development