[
https://issues.apache.org/jira/browse/SOLR-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Domenico Fabio Marino updated SOLR-10799:
-----------------------------------------
Attachment: SOLR-10799.patch
> Create a new function to get eligible replicas in HttpShardHandler
> ------------------------------------------------------------------
>
> Key: SOLR-10799
> URL: https://issues.apache.org/jira/browse/SOLR-10799
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Domenico Fabio Marino
> Priority: Minor
> Attachments: SOLR-10799.patch
>
>
> Extract a function called createEligibleReplicas from prepDistributed() in
> HttpShardHandler.
> This method takes a collection of all available replicas, a cluster state,
> onlyNrtReplicas boolean and a predicate and returns a list of eligible
> replicas.
> This helps with readability and could be used to perform further refactoring
> in the future
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]