diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 45a8c8bdcd5..1e347de805d 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -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 ---------------------- diff --git a/solr/core/src/java/org/apache/solr/cloud/OverseerAutoReplicaFailoverThread.java b/solr/core/src/java/org/apache/solr/cloud/OverseerAutoReplicaFailoverThread.java index 99f01925611..83679a549c7 100644 --- a/solr/core/src/java/org/apache/solr/cloud/OverseerAutoReplicaFailoverThread.java +++ b/solr/core/src/java/org/apache/solr/cloud/OverseerAutoReplicaFailoverThread.java @@ -137,6 +137,7 @@ public class OverseerAutoReplicaFailoverThread implements Runnable, Closeable { Thread.sleep(workLoopDelay); } catch (InterruptedException e) { Thread.currentThread().interrupt(); + return; } } }