[
https://issues.apache.org/jira/browse/CASSANDRA-16186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Lerer updated CASSANDRA-16186:
---------------------------------------
Description:
While adding some tests for the {{ThreadPoolMetrics}}, I discovered that the
{{SEPExecutor}} does not release the blocked threads as it should.
If the number of tasks added to a SEPExecutor exceed the max queue size. The
threads adding those task will be block until enough space become available for
all the blocked tasks. At this point all the blocked threads will released at
once.
was:We should add some tests to ensure that metrics are correctly published
for {{SEPExecutor}} and {{JMXEnabledThreadPoolExecutor}}.
> SEPExecutor does not release blocked threads as it should
> ---------------------------------------------------------
>
> Key: CASSANDRA-16186
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16186
> Project: Cassandra
> Issue Type: Improvement
> Components: Test/unit
> Reporter: Benjamin Lerer
> Assignee: Benjamin Lerer
> Priority: Normal
> Fix For: 4.0-beta
>
>
> While adding some tests for the {{ThreadPoolMetrics}}, I discovered that the
> {{SEPExecutor}} does not release the blocked threads as it should.
> If the number of tasks added to a SEPExecutor exceed the max queue size. The
> threads adding those task will be block until enough space become available
> for all the blocked tasks. At this point all the blocked threads will
> released at once.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]