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

Mike Drob commented on SOLR-16127:
----------------------------------

cc: [~caomanhdat] what was the original intent of the design here? I have a PR 
up to demonstrate the problem, I'm not sure if we can ever get into a situation 
where a waiting thread is interrupted without the rest of the server going down 
anyway, but I also don't like to hope that a situation is impossible to avoid 
potential bugs.

> OrderedExecutor can orphan permits and leak locks
> -------------------------------------------------
>
>                 Key: SOLR-16127
>                 URL: https://issues.apache.org/jira/browse/SOLR-16127
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mike Drob
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> If a thread is interrupted while waiting to acquire a maxThreads semaphore 
> permit, then it does not clean up the corresponding entry in striped lock, 
> which may prevent future threads from executing even when enough semaphore 
> permits become available.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to