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

Logged request buffer isn't useful

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.10, 3.5.3
    • 3.8.0
    • server

    Description

      There are two places in the server code that log request errors with a message ala "Dumping request buffer..." followed by a hex dump of the request buffer. There are 2 major problems with this output:

      1. The request type is not output
      2. The byte-to-hex inline code doesn't pad numbers < 16

      These two combine to make the output data nearly useless.

      PrepRequestProcessor#pRequest() and FinalRequestProcessor#processRequest()

      Attachments

        Issue Links

          Activity

            People

              nishanth.entoor Nishanth Entoor
              randgalt Jordan Zimmerman
              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 20m
                  1h 20m