Thanks for the responses!

Shawn,

I believe I understood that Zookeeper does not actually handle the request.
Thanks for the clarification as I did not word it properly.

More precisely, will a SolrJ CloudSolrClient work for the purpose of
querying SolrCloud if the ZK host list it is configured with represents a
Zookeeper ensemble that has lost its quorum?

My goal is to learn if this SolrJ client (configured via zkhost list) can
reliably query a SolrCloud even when the ZK ensemble has lost its quorum.

I have heard that Zookeeper will go into a read-only mode if quorum is
lost.   Put another way, will the SolrJ cloud client still be able to talk
to ZK to discover the URLs required to get
to Solr and serve queries (at least will the solrj client be given the
latest state from the remaining ZK nodes for what was last written to
Zookeeper)?

Our company is reviewing HA/DR scenarios for SolrCloud and I am
investigating if a SolrCloud that has lost its ZK quorum can provide any
value for Solr queries, and how to characterize accuracy of any search
results.

Thanks for any further information you can provide.

Matt

On Mon, May 20, 2024 at 9:02 PM Shawn Heisey <apa...@elyograg.org.invalid>
wrote:

> On 5/20/2024 17:46, mtn search wrote:
> > Will a SolrJ client connection (configured with a ZKhost list) to a
> > SolrCloud still work for querying a SolrCloud when the Zookeeper ensemble
> > has lost its quorum, but some ZK nodes remain up?  I understand that
> > indexing will not work.
> >
> > Follow-on - will the Solr query work to the same SolrCloud if the query
> is
> > sent directly to a Solr node rather than to Zookeeper?
>
> Requests to SolrCloud such as queries or indexing do not go through ZK,
> ever.
>
> The SolrJ cloud client talks to ZK to discover the URLs required to get
> to Solr and which of them are online at any given moment.  ZK is used as
> a central database to coordinate the cluster, it does not handle requests.
>
> Thanks,
> Shawn
>
>

Reply via email to