Hi Mark, One more question While doing solr doc update/add what information is required from zookeeper ? Can you tell what all information is stored in zookeeper other than the startup configs.
Thanks Varun On Tue, Feb 26, 2013 at 3:09 PM, Mark Miller <markrmil...@gmail.com> wrote: > > On Feb 26, 2013, at 5:25 PM, varun srivastava <varunmail...@gmail.com> > wrote: > > > Hi All, > > I have some questions regarding role of zookeeper in solrcloud runtime, > > while processing the queries . > > > > 1) Is zookeeper cluster referred by solr shards for processing every > > request, or its only used to copy config on startup time ? > > No, it's not used per request. Solr talks to ZooKeeper on SolrCore startup > - to get configs and set itself up. Then it only talks to ZooKeeper when a > cluster state change happens - in that case, ZooKeeper pings Solr and Solr > will get an update view of the cluster. That view is cached and used for > requests. In a stable state, Solr is not talking to ZooKeeper other than > the heartbeat they keep to know a node is up. > > > 2) How loadbalancing is done between replicas ? Is traffic stat shared > > through zookeeper ? > > Basic round robin. Traffic stats are not currently in Zk. > > > 3) If for any reason zookeeper cluster goes offline for sometime, does > solr > > cloud will not be able to server any traffic ? > > It will stop allowing updates, but continue serving searches. > > - Mark > > > > > > > Thanks > > Varun > >