You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Michael Han (Jira)" <ji...@apache.org> on 2020/03/25 02:40:00 UTC

[jira] [Resolved] (ZOOKEEPER-3683) Discard requests that are delayed longer than a configured threshold

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Han resolved ZOOKEEPER-3683.
------------------------------------
    Resolution: Fixed

Issue resolved by pull request 1211
[https://github.com/apache/zookeeper/pull/1211]

> Discard requests that are delayed longer than a configured threshold
> --------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3683
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3683
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Jie Huang
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.7.0
>
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>
> The RequestThrottler ensures that no requests more than the system can handle be fed into the request processor pipeline. In the meantime, the throttler queues all incoming requests and there is nothing to instruct the clients to slow down.
> This new feature will mark all requests that wait in the RequestThrottler longer that specified throttledOpWaitTime as throttled and such requests will not see any processing other than being fed down the pipeline preserving the order of all requests.
> The FinalProcessor will issue an error response (new error code: ZTHROTTLEDOP) for these undigested requests. The intent is for the clients to not retry them immediately.
> Also the fact that throttled requests are unprocessed will speed the entire work of the pipeline. Throttled requests are not communicated between servers and only travel thru the server they belong to.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)