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/03/16 17:46:00 UTC

[jira] [Created] (SOLR-16705) Useless Zookeeper checks in shard leader election

Pierre Salagnac created SOLR-16705:
--------------------------------------

             Summary: Useless Zookeeper checks in shard leader election
                 Key: SOLR-16705
                 URL: https://issues.apache.org/jira/browse/SOLR-16705
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
    Affects Versions: 9.1, 9.0
            Reporter: Pierre Salagnac


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