mirror of https://github.com/apache/lucene.git
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:
parent
93b33b5fdb
commit
8154a8086a
|
@ -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
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue