Apache Lucene open-source search software
SOLR-8066: SolrCore.checkStale method doesn't restore interrupt status
Shalin Shekhar Mangar66883c7ac517
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 864009a8273..1cdf4d7807a 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -206,7 +206,7 @@ Bug Fixes(kevin, hossman, shalin)* SOLR-8058: Fix the exclusion filter so that collections that start with js, css, img, tpl- can be accessed. (Upayavira, Steve Rowe, Anshum Gupta)+ can be accessed. (Upayavira, Steve Rowe, Anshum Gupta)Optimizations----------------------@@ -273,6 +273,8 @@ Other Changes* SOLR-8034: Leader no longer puts replicas in recovery in case of a failed update, when minRFisn't achieved. (Jessica Cheng, Timothy Potter, Anshum Gupta)+* SOLR-8066: SolrCore.checkStale method doesn't restore interrupt status. (shalin)+================== 5.3.1 ==================Bug Fixesdiff --git a/solr/core/src/java/org/apache/solr/core/SolrCore.java b/solr/core/src/java/org/apache/solr/core/SolrCore.javaindex 3f3a5416c13..7c0b90c64f4 100644--- a/solr/core/src/java/org/apache/solr/core/SolrCore.java+++ b/solr/core/src/java/org/apache/solr/core/SolrCore.java@@ -2640,7 +2640,7 @@ public final class SolrCore implements SolrInfoMBean, Closeable {} catch (KeeperException e) {log.error("error refreshing solrconfig ", e);} catch (InterruptedException e) {- Thread.currentThread().isInterrupted();+ Thread.currentThread().interrupt();}return false;}