[
https://issues.apache.org/jira/browse/SOLR-16705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17710391#comment-17710391
]
ASF subversion and git services commented on SOLR-16705:
--------------------------------------------------------
Commit 3d02801a565c1083ad899c1cb4b7bcb21754fe04 in solr's branch
refs/heads/main from Pierre Salagnac
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=3d02801a565 ]
Remove useless Zookeeper checks (#1465)
Co-authored-by: Pierre Salagnac <[email protected]>
SOLR-16705
> 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
> 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]