[
https://issues.apache.org/jira/browse/ZOOKEEPER-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16446653#comment-16446653
]
ASF GitHub Bot commented on ZOOKEEPER-2940:
-------------------------------------------
Github user rakeshadr commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/466#discussion_r183201663
--- Diff:
src/java/main/org/apache/zookeeper/server/command/StatCommand.java ---
@@ -64,8 +64,8 @@ public void commandRun() {
pw.println(zkServer.getZKDatabase().getNodeCount());
if (serverStats.getServerState().equals("leader")) {
Leader leader =
((LeaderZooKeeperServer)zkServer).getLeader();
- ProposalStats proposalStats = leader.getProposalStats();
- pw.printf("Proposal sizes last/min/max: %s%n",
proposalStats.toString());
+ BufferStats bufferStats = leader.getBufferStats();
--- End diff --
Same as above. Please use var name "proposalStats" instead of "bufferStats"
> Deal with maxbuffer as it relates to large requests from clients
> ----------------------------------------------------------------
>
> Key: ZOOKEEPER-2940
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2940
> Project: ZooKeeper
> Issue Type: Sub-task
> Components: jute, server
> Reporter: Andor Molnar
> Assignee: Andor Molnar
> Priority: Major
> Fix For: 3.5.4, 3.6.0
>
>
> Monitor real-time Jute buffer usage as it relates to large requests from
> clients.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)