[
https://issues.apache.org/jira/browse/SOLR-17560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated SOLR-17560:
--------------------------------
Fix Version/s: main (10.0)
Labels: newdev (was: )
> DocCollection, don't need getLeaderReplicas(nodeName)
> -----------------------------------------------------
>
> Key: SOLR-17560
> URL: https://issues.apache.org/jira/browse/SOLR-17560
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCloud
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Minor
> Labels: newdev
> Fix For: main (10.0)
>
>
> Claim: DocCollection.getLeaderReplicas(nodeName) isn't needed.
> Goal: reduce complexity/bookkeeping and weight of DocCollection
> In non-test code, it's only needed by
> org.apache.solr.servlet.HttpSolrCall#getCoreByCollection for an indexing
> request. This could be modified to randomly iterate all replicas and filter
> leaders afterwards instead of before.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]