Re: When does Solr write in Zookeeper ?

2019-11-18 Thread Dominique Bejean
Thanh you Shawn Le lun. 18 nov. 2019 à 19:28, Shawn Heisey a écrit : > On 11/18/2019 8:39 AM, Dominique Bejean wrote: > > How Solr nodes know that something was changed in Zookeeper by an other > > node ? Is there any notification from ZK or do Solr nodes read > > systematically in ZK (without

Re: When does Solr write in Zookeeper ?

2019-11-18 Thread Shawn Heisey
On 11/18/2019 8:39 AM, Dominique Bejean wrote: How Solr nodes know that something was changed in Zookeeper by an other node ? Is there any notification from ZK or do Solr nodes read systematically in ZK (without local caching) ? This is built-in functionality of ZooKeeper. The client allows

Re: When does Solr write in Zookeeper ?

2019-11-18 Thread Dominique Bejean
How Solr nodes know that something was changed in Zookeeper by an other node ? Is there any notification from ZK or do Solr nodes read systematically in ZK (without local caching) ? Dominique Le ven. 15 nov. 2019 à 18:36, Erick Erickson a écrit : > Dominique: > > In a word, “yes”. You’ve got

Re: When does Solr write in Zookeeper ?

2019-11-16 Thread Vincenzo D'Amore
Hi Dominique, in my experience, with Solr 4.8.1, this configuration it’s related to the garbage collection. When a “stop the world” endures more than 15 seconds the Solr nodes disconnects from Zookeeper, the node replicas go down and sometimes, I don’t know exactly why, you need to restart the

Re: When does Solr write in Zookeeper ?

2019-11-15 Thread Dominique Bejean
Thank you Erick for this fast answer Why is it a best practice to set the zookeeper connection timeout to 3 instead the default 15000 value? Regards Dominique Le ven. 15 nov. 2019 à 18:36, Erick Erickson a écrit : > Dominique: > > In a word, “yes”. You’ve got it. A common

Re: When does Solr write in Zookeeper ?

2019-11-15 Thread Erick Erickson
Dominique: In a word, “yes”. You’ve got it. A common misunderstanding is that ZK is actively involved in queries/updates/whatever. Basically, what ZK is responsible for is maintaining collection-wide resources, i.e. the current state of all the replicas, config files, etc., your “global

When does Solr write in Zookeeper ?

2019-11-15 Thread Dominique Bejean
Hi, I would like to be certain to understand how Solr use Zookeeper and more precisely when Solr write into Zookeeper. Solr stores various informations in ZK - globale configuration (autoscaling, security.json) - collection configuration (configs) - collections state (state.json,