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

Nick Shanin commented on SOLR-16065:
------------------------------------

I would like to work on this or on related Overseer tickets. Proposed scope of 
work: 

Run the Overseer leadership check inline and remove the extra exit thread and 
its thread-leak ignore.

> Run checkIfIamStillLeader outside of a Thread in the overseer
> -------------------------------------------------------------
>
>                 Key: SOLR-16065
>                 URL: https://issues.apache.org/jira/browse/SOLR-16065
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Houston Putman
>            Priority: Major
>
> Currently at the end of Overseer.run(), a thread is created to continuously 
> check if the overseer is still the leader.
> {{//do this in a separate thread because any wait is interrupted in this main 
> thread}}
> {{new Thread(this::checkIfIamStillLeader, "OverseerExitThread").start();}}
> I'm currently unsure as to why the check needs to ignore any interruptions, 
> but this is causing failing tests due to this thread being leaked.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to