David Smiley created SOLR-17560:
-----------------------------------
Summary: 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
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]