zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rakeshadr <...@git.apache.org>
Subject [GitHub] zookeeper pull request #466: ZOOKEEPER-2940. Deal with maxbuffer as it relat...
Date Sat, 21 Apr 2018 06:38:22 GMT
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"


---

Mime
View raw message