[
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: [email protected]
For additional commands, e-mail: [email protected]