[
https://issues.apache.org/jira/browse/ZOOKEEPER-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ling Mao resolved ZOOKEEPER-2907.
---------------------------------
Fix Version/s: 3.8.0
Resolution: Fixed
> Logged request buffer isn't useful
> ----------------------------------
>
> Key: ZOOKEEPER-2907
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2907
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.4.10, 3.5.3
> Reporter: Jordan Zimmerman
> Assignee: Nishanth Entoor
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.8.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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:
> # The request type is not output
> # 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()
--
This message was sent by Atlassian Jira
(v8.20.1#820001)