lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: Why Doesn't Solr Really Quit on Zookeeper Exceptions?
Date Tue, 31 May 2016 20:40:39 GMT
On 5/31/2016 2:34 PM, jimtronic wrote:
> When I try to launch Solr 6.0 in cloud mode and connect it to a specific
> chroot in zookeeper that doesn't exist, I get an error in my solr.log.
> That's expected, but the solr process continues to launch and succeeds.
> Why wouldn't we want the start process simply to fail and exit?
> There's no mechanism to trigger a retry, so Solr just sits there like a
> zombie.

I can think of two ways to handle this:  Keep retrying the zkHost values
to get an initial connection, on a configurable interval that probably
should default to between 120 and 500 seconds, or die gracefully.  I
would prefer to see the retry, myself.

I thought I saw an issue about this in the past, but now I can't find it.


View raw message