You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Pierre Salagnac (Jira)" <ji...@apache.org> on 2023/04/11 13:59:00 UTC
[jira] [Resolved] (SOLR-16705) Useless Zookeeper checks in shard leader election
[ https://issues.apache.org/jira/browse/SOLR-16705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Salagnac resolved SOLR-16705.
------------------------------------
Resolution: Fixed
> Useless Zookeeper checks in shard leader election
> -------------------------------------------------
>
> Key: SOLR-16705
> URL: https://issues.apache.org/jira/browse/SOLR-16705
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud
> Affects Versions: 9.0, 9.1
> Reporter: Pierre Salagnac
> Priority: Minor
> Fix For: main (10.0)
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> After a Solr node restart, shard leader election code has specific calls to Zookeeper to wait for all replicas to join the election.
> This code is useless when joining leader election for another reason than node restart.
> (in class ShardLeaderElectionContext, call to method areAllReplicasParticipating() is useless and we ignore the returned value).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org