Re: ZkCmdExecutor

2021-10-04 Thread Mark Miller
Well, the replicas are still waiting for the leader, so not no wait, you just don’t have leaders waiting for full shards that lessens the problem. A leader should have no wait and release any waiting replicas. That core sorter should be looking at LIR to start the leader capable replicas first. M

Re: ZkCmdExecutor

2021-10-04 Thread Mark Miller
On Mon, Oct 4, 2021 at 5:24 AM Ilan Ginzburg wrote: > Thanks Mark for your write ups! This is an area of SolrCloud I'm currently > actively exploring at work (might publish my notes as well at some point). > > I think terms value (fitness to become leader) should participate in the > election nod

Fwd: ZkTestServer Watch limit violations

2021-10-04 Thread David Smiley
Maybe Tim you may have an opinion on this one as you introduced this watch limit violation checker in https://issues.apache.org/jira/browse/SOLR-6370 ? Running just about any SolrCloud based test will cause this to dump some info at the end. Even simple ones like org.apache.solr.client.solrj.impl.

Re: legacyCloud removal?

2021-10-04 Thread David Smiley
Ha; fantastic! I was looking at 8.x code. ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley On Mon, Oct 4, 2021 at 10:11 AM Ilan Ginzburg wrote: > Work was done in https://issues.apache.org/jira/browse/SOLR-12823 > > Ilan > > On Mon, Oct 4, 2021 at 2:4

Re: legacyCloud removal?

2021-10-04 Thread Ilan Ginzburg
Work was done in https://issues.apache.org/jira/browse/SOLR-12823 Ilan On Mon, Oct 4, 2021 at 2:42 PM David Smiley wrote: > For 9, shall we remove logic associated with legacyCloud=true? > https://issues.apache.org/jira/browse/SOLR-8256 this was set to true for > 7.0. Since that is before our

legacyCloud removal?

2021-10-04 Thread David Smiley
For 9, shall we remove logic associated with legacyCloud=true? https://issues.apache.org/jira/browse/SOLR-8256 this was set to true for 7.0. Since that is before our current 8.x release, this means it's already not possible to go directly from legacyCloud to 9. Consequently we can delete the vest

Re: ZkCmdExecutor

2021-10-04 Thread Ilan Ginzburg
Thanks Mark for your write ups! This is an area of SolrCloud I'm currently actively exploring at work (might publish my notes as well at some point). I think terms value (fitness to become leader) should participate in the election node ordering, as well as a terms goal (based on highest known ter

Re: ZkCmdExecutor

2021-10-04 Thread Mark Miller
Okay, I added some basic suggestions to that leader election Jira. Between everything I’ve dropped in this thread, I don’t see why anyone could not fix leader election and leader sync up or come up with good replacements or make good improvements, so I’ll just leave it at that. Finally, if anyone