You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (Jira)" <ji...@apache.org> on 2020/10/20 08:53:00 UTC

[jira] [Commented] (CASSANDRA-16186) SEPExecutor does not release blocked threads as it should

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

Benjamin Lerer commented on CASSANDRA-16186:
--------------------------------------------

Discussed quickly the patch offline with [~benedict]. I will rework the patch to avoid some inefficiencies of my initial approach.

> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org