You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Houston Putman (Jira)" <ji...@apache.org> on 2022/03/01 20:24:00 UTC

[jira] [Created] (SOLR-16065) Run checkIfIamStillLeader outside of a Thread in the overseer

Houston Putman created SOLR-16065:
-------------------------------------

             Summary: 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
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Houston Putman


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
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org