SOLR-9556: Exit failover thread on interrupt

This commit is contained in:
Alan Woodward 2016-09-30 09:05:01 +01:00
parent 1c614e1d4d
commit 1f0d75b802
2 changed files with 4 additions and 0 deletions

View File

@ -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
----------------------

View File

@ -137,6 +137,7 @@ public class OverseerAutoReplicaFailoverThread implements Runnable, Closeable {
Thread.sleep(workLoopDelay);
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
return;
}
}
}