The retry logic for errors in construction of SolrZooKeeper was added in
https://issues.apache.org/jira/browse/SOLR-8599 and is in 5.5.1 and 6.0. I
wonder if either that is not working as expected during startup or if
startup is following a different code path.

- Dennis

On Tue, May 31, 2016 at 4:40 PM, Shawn Heisey <apa...@elyograg.org> wrote:

> 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.
>
> Thanks,
> Shawn
>
>

Reply via email to