lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: Documentation of Zookeeper's specific roles and functions in Solr Cloud?
Date Tue, 29 Nov 2016 21:01:05 GMT
On Tue, Nov 29, 2016 at 10:22 PM, Kevin Risden <compuwizard123@gmail.com> wrote:
> If using CloudSolrClient or another zookeeper aware client, then a request
> gets sent to Zookeeper to determine the live nodes. If indexing,
> CloudSolrClient can find the leader and send documents directly there. The
> client then uses that information to query the correct nodes directly.

The live node information is watched and cached so it is re-fetched
only when it changes. There is no direct request to ZooKeeper on
either indexing or querying unless our cached live nodes and cluster
state information has become stale.

>
> Zookeeper is not forwarding requests to Solr. The client requests from
> Zookeeper and then the client uses that information to query Solr directly.
>
> Kevin Risden
>
> On Tue, Nov 29, 2016 at 10:49 AM, John Bickerstaff <john@johnbickerstaff.com
>> wrote:
>
>> All,
>>
>> I've thought I understood that Solr search requests are made to the Solr
>> servers and NOT Zookeeper directly.  (I.E. Zookeeper doesn't decide which
>> Solr server responds to requests and requests are made directly to Solr)
>>
>> My new place tells me they're sending requests to Zookeeper - and those are
>> getting sent on to Solr by Zookeeper - -- this is news to me if it's
>> true...
>>
>> Is there any documentation of exactly the role(s) played by Zookeeper in a
>> SolrCloud setup?
>>



-- 
Regards,
Shalin Shekhar Mangar.

Mime
View raw message