[
https://issues.apache.org/jira/browse/ZOOKEEPER-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Enrico Olivelli updated ZOOKEEPER-3683:
---------------------------------------
Fix Version/s: (was: 3.6.0)
3.7.0
> 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: 1h 40m
> 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)