SOLR-9556: Exit failover thread on interrupt

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

View File

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

View File

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