GitHub user anmolnar opened a pull request:
https://github.com/apache/zookeeper/pull/466
ZOOKEEPER-2940. Deal with maxbuffer as it relates to large requests from
clients
This PR covers the other part of Jute buffer monitoring which relates to
client response sizes.
`jute.maxbuffer` is often set too small or the default (4MB) value is not
enough to receive large responses from the server which causes the client
unable to operate. e.g. `getChildren()` on a node which has lots of children or
execution of a large multi.
These new metrics lets operators to monitor the size of generated responses
to get an idea on how to properly set client's `jute.maxbuffer`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anmolnar/zookeeper ZOOKEEPER-2940
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/466.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #466
----
commit 003ea900ea06e0aa763f7d8c71b6cd3859ac18b1
Author: Andor Molnar <andor@...>
Date: 2018-02-13T17:04:12Z
ZOOKEEPER-2940. Track size of client responses
----
---