Apache Solr open-source search software
SOLR-6402: OverseerCollectionProcessor should not exit for ZooKeeper ConnectionLoss.
Mark Robert Miller8154a8086a78
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex acd77d32c98..bd1ca18589d 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -338,6 +338,9 @@ Bug Fixesblock cache are not removed, which is a problem with the global block cache option.(Mark Miller, Patrick Hunt)+* SOLR-6402: OverseerCollectionProcessor should not exit for ZooKeeper ConnectionLoss.+ (Jessica Cheng via Mark Miller)+Optimizations---------------------diff --git a/solr/core/src/java/org/apache/solr/cloud/OverseerCollectionProcessor.java b/solr/core/src/java/org/apache/solr/cloud/OverseerCollectionProcessor.javaindex c5cb83ddc59..96b1b5d5741 100644--- a/solr/core/src/java/org/apache/solr/cloud/OverseerCollectionProcessor.java+++ b/solr/core/src/java/org/apache/solr/cloud/OverseerCollectionProcessor.java@@ -341,8 +341,7 @@ public class OverseerCollectionProcessor implements Runnable, Closeable {}} catch (KeeperException e) {- if (e.code() == KeeperException.Code.SESSIONEXPIRED- || e.code() == KeeperException.Code.CONNECTIONLOSS) {+ if (e.code() == KeeperException.Code.SESSIONEXPIRED) {log.warn("Overseer cannot talk to ZK");return;}