[
https://issues.apache.org/jira/browse/ZOOKEEPER-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Hunt updated ZOOKEEPER-1142:
------------------------------------
Attachment: ZOOKEEPER-1142.patch
this fixes the issue with stat (also issue with cons).
I ran through most of the commands with both nio and netty and it seems to be
working ok with this patch.
I also added some specific tests to ensure this doesn't happen in future.
> incorrect stat output
> ---------------------
>
> Key: ZOOKEEPER-1142
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1142
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Affects Versions: 3.4.0
> Reporter: Patrick Hunt
> Assignee: Patrick Hunt
> Priority: Blocker
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-1142.patch
>
>
> stat output seems to be missing some end of line:
> {noformat}
> echo stat |nc c0309 2181
> Zookeeper version: 3.4.0--1, built on 08/02/2011 22:25 GMT
> Clients:
> /172.29.81.91:33378[0](queued=0,recved=1,sent=0
> Latency min/avg/max: 0/28/252
> Received: 246844
> Sent: 266737
> Outstanding: 0
> Zxid: 0x4000508c2
> Mode: follower
> Node count: 4
> {noformat}
> Multiple clients end up on the same line (missing newline)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira