Thank you Shawn, I will try this way and see if it helps.

*Thanks,*
*Reej*


On Wed, Jan 26, 2022 at 10:59 PM Shawn Heisey <apa...@elyograg.org> wrote:

> On 1/26/22 06:53, Reej Nayagam wrote:
> > The scenario is solr servers are up, but majority of the zk is down,
> > so we need to tell the issue is with the zookeeper. I don’t find a way on
> > how to identify the zookeeper status without waiting for the timeout to
> > happen after 30 seconds.
>
> I think the issue here is that the SolrZkClient is created with a
> cconstructor that does not specify the connection timeout.  That timeout
> defaults to 30 seconds.  You'll want to create it with both the client
> timeout and the connect timeout specified. Because in your situation
> with ZK being down you can't connect, it will be the connect timeout
> that applies, not the client timeout.
>
> Thanks,
> Shawn
>
>

Reply via email to