SOLR-6402: OverseerCollectionProcessor should not exit for ZooKeeper ConnectionLoss.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619641 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2014-08-22 01:20:18 +00:00
parent 93b33b5fdb
commit 8154a8086a
2 changed files with 4 additions and 2 deletions

View File

@ -338,6 +338,9 @@ Bug Fixes
block cache are not removed, which is a problem with the global block cache option. block cache are not removed, which is a problem with the global block cache option.
(Mark Miller, Patrick Hunt) (Mark Miller, Patrick Hunt)
* SOLR-6402: OverseerCollectionProcessor should not exit for ZooKeeper ConnectionLoss.
(Jessica Cheng via Mark Miller)
Optimizations Optimizations
--------------------- ---------------------

View File

@ -341,8 +341,7 @@ public class OverseerCollectionProcessor implements Runnable, Closeable {
} }
} catch (KeeperException e) { } catch (KeeperException e) {
if (e.code() == KeeperException.Code.SESSIONEXPIRED if (e.code() == KeeperException.Code.SESSIONEXPIRED) {
|| e.code() == KeeperException.Code.CONNECTIONLOSS) {
log.warn("Overseer cannot talk to ZK"); log.warn("Overseer cannot talk to ZK");
return; return;
} }