mirror of https://github.com/apache/lucene.git
SOLR-10376: Catch and log connection loss and session expired exception but rethrow on all other KeeperExceptions
This commit is contained in:
parent
bb4eb1c2a5
commit
73170ee06c
|
@ -200,6 +200,8 @@ public class OverseerTriggerThread implements Runnable, Closeable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, true);
|
}, true);
|
||||||
|
} catch (KeeperException.ConnectionLossException | KeeperException.SessionExpiredException e) {
|
||||||
|
log.error("OverseerTriggerThread could not talk to ZooKeeper", e);
|
||||||
} catch (KeeperException e) {
|
} catch (KeeperException e) {
|
||||||
log.error("Exception in OverseerTriggerThread", e);
|
log.error("Exception in OverseerTriggerThread", e);
|
||||||
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, e);
|
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, e);
|
||||||
|
|
Loading…
Reference in New Issue