mirror of https://github.com/apache/lucene.git
SOLR-9556: Exit failover thread on interrupt
This commit is contained in:
parent
1c614e1d4d
commit
1f0d75b802
|
@ -110,6 +110,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