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: [email protected]
For additional commands, e-mail: [email protected]