[
https://issues.apache.org/jira/browse/ZOOKEEPER-2770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083413#comment-16083413
]
ASF GitHub Bot commented on ZOOKEEPER-2770:
-------------------------------------------
GitHub user karanmehta93 opened a pull request:
https://github.com/apache/zookeeper/pull/307
ZOOKEEPER-2770 ZooKeeper slow operation log
The patch sets a default threshold of 10 sec for request. If the value of
warn.responseTime is configured as -1 then logging is ignored.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/karanmehta93/zookeeper ZOOKEEPER-2770
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/307.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 #307
----
commit d09f72a8fca1764e2ed4c1861746af9a7fd5d15a
Author: Karan Mehta <[email protected]>
Date: 2017-05-02T21:20:39Z
ZOOKEEPER-2770 ZooKeeper slow operation log
----
> ZooKeeper slow operation log
> ----------------------------
>
> Key: ZOOKEEPER-2770
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2770
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: Karan Mehta
> Attachments: ZOOKEEPER-2770.001.patch, ZOOKEEPER-2770.002.patch,
> ZOOKEEPER-2770.003.patch
>
>
> Log the client and request details if the server discovers, when finally
> processing the request, that the current time minus arrival time of the
> request is beyond a configured threshold.
> Look at the HBase {{responseTooSlow}} feature for inspiration.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)