mirror of https://github.com/apache/lucene.git
SOLR-9556: Exit failover thread on interrupt
This commit is contained in:
parent
64b0c91df1
commit
ef747c8445
|
@ -141,6 +141,9 @@ Bug Fixes
|
|||
* SOLR-9554: Fix NullPointerException when cores are loaded in parallel and switch schema.xml to managed-scheme.
|
||||
(Alan Woodward, Mikhail Khludnev)
|
||||
|
||||
* SOLR-9556: OverseerAutoFailoverReplicaThread was not exiting on interrupt
|
||||
(Alan Woodward)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -137,6 +137,7 @@ public class OverseerAutoReplicaFailoverThread implements Runnable, Closeable {
|
|||
Thread.sleep(workLoopDelay);
|
||||
} catch (InterruptedException e) {
|
||||
Thread.currentThread().interrupt();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue