Re: SolrCloud behavior when Zookeeper has lost a quorum.

2024-05-22 Thread Eric Pugh
om>> > Enviado: martes, 21 de mayo de 2024 18:12 > Para: users@solr.apache.org <mailto:users@solr.apache.org> > mailto:users@solr.apache.org>> > Asunto: Re: SolrCloud behavior when Zookeeper has lost a quorum. > > [EXTERNO] Este correo electrónico se envió desd

RE: SolrCloud behavior when Zookeeper has lost a quorum.

2024-05-21 Thread DAVID MARTIN NIETO
sJjviLoypusuKOxCnOw97zuo&disp=emb] De: Eric Pugh Enviado: martes, 21 de mayo de 2024 18:12 Para: users@solr.apache.org Asunto: Re: SolrCloud behavior when Zookeeper has lost a quorum. [EXTERNO] Este correo electrónico se envió desde fuera de la organización. No haga clic en enlaces ni abra ar

Re: SolrCloud behavior when Zookeeper has lost a quorum.

2024-05-21 Thread Walter Underwood
I’m not a fan of CloudSolrClient. I think it adds failure modes without any meaningful speedup. It adds an unnecessary dependency on the Zookeeper ensemble. A request sent to any node can be handled correctly without bothering Zookeeper. Every node already has full information about the cluster

Re: SolrCloud behavior when Zookeeper has lost a quorum.

2024-05-21 Thread Eric Pugh
I’ve had a lot of luck using the bats testing infrastructure to try out “what if” situations with Solr to see what actually happens. For example, I tested out classic leader/follower replication works when your leader is a single node solr cloud server and your follower is a totally separate s

Re: SolrCloud behavior when Zookeeper has lost a quorum.

2024-05-21 Thread Matt Kuiper
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 wi

Re: SolrCloud behavior when Zookeeper has lost a quorum.

2024-05-20 Thread Shawn Heisey
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 So

Re: SolrCloud behavior when Zookeeper has lost a quorum.

2024-05-20 Thread Eric Pugh
In some testing recently around quorums, we found that it did! Here is the bats test: https://github.com/apache/solr/pull/2391/files#diff-67fa55bc80687e87be9d0e2ccdb5ee1107d1feef8cb18f601104e2f8f2351ce7 Support running embedded-zk in "ensemble" mode by gerlowskija · Pull Request #2391 · apache/

SolrCloud behavior when Zookeeper has lost a quorum.

2024-05-20 Thread mtn search
Hello, 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 SolrCl