You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Karan Mehta (JIRA)" <ji...@apache.org> on 2017/05/02 21:23:04 UTC

[jira] [Commented] (ZOOKEEPER-2770) ZooKeeper slow operation log

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15993783#comment-15993783 ] 

Karan Mehta commented on ZOOKEEPER-2770:
----------------------------------------

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.

> 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.3.15#6346)